メインコンテンツへスキップ
GET
/
users
/
{id}
/
connected-accounts
Get a User's Connected Accounts
curl --request GET \
  --url https://{tenantDomain}/api/v2/users/{id}/connected-accounts \
  --header 'Authorization: Bearer <token>'
{
  "connected_accounts": [
    {
      "id": "<string>",
      "connection": "<string>",
      "connection_id": "<string>",
      "strategy": "<string>",
      "access_type": "offline",
      "created_at": "2023-11-07T05:31:56Z",
      "scopes": [
        "<string>"
      ],
      "expires_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

ID of the user to list connected accounts for.

クエリパラメータ

from
string

Optional Id from which to start selection.

take
integer

Number of results to return. Defaults to 10 with a maximum of 20

必須範囲: 1 <= x <= 100

レスポンス

Connected accounts successfully retrieved.

connected_accounts
object[]
必須
next
string

The token to retrieve the next page of connected accounts (if there is one)