Connected Accounts

List connected accounts

Changed on

Retrieves a list of all connected accounts for a user.

get/connected-accounts/{user_id}

Request

  • Base URL
    https://api.hexclave.com/api/v1
  • URL
    https://api.hexclave.com/api/v1/connected-accounts/{user_id}
  • Auth
    none declared

Path parameters

user_idstring

The ID of the user, or the special value me for the currently authenticated user

Example:3241a285-8329-4d69-8f3d-316e08cf140c

Response

Successful response

Example response

{
  "items": [
    {
      "user_id": "3241a285-8329-4d69-8f3d-316e08cf140c",
      "provider": "google",
      "provider_account_id": "google-account-id-12345"
    }
  ],
  "pagination": {
    "next_cursor": "b3d396b8-c574-4c80-97b3-50031675ceb2"
  }
}

Changes

    • breaking

      the response property / became nullable for the status

    • warning

      added the new undefined enum value to the / response property for the response status

    • info

      endpoint added