GET
/
v5
/
app
/
users
/
{user_id}
/
social_accounts
curl --request GET \
  --url https://{defaultHost}/v5/app/users/{user_id}/social_accounts \
  --header 'Authorization: Bearer <token>'
[
  {
    "service": "discord",
    "username": "<string>",
    "default": true,
    "account_id": "<string>",
    "image_url": "<string>"
  }
]

Authorizations

Authorization
string
header
required

App API key for /v5/app and /v5/company endpoints

Path Parameters

user_id
string
required

The ID of the User, which will look like user_*************

Response

200 - application/json
social accounts retrieved
service
enum<string>
required

The type of social account that it is.

Available options:
discord,
twitter
default
boolean | null
required

Whether or not this is the default social account for the user's account for the provider.

account_id
string
required

The ID of the social account from the provider, like a discord ID or twitter ID.

username
string | null

The username of the social account

image_url
string | null

A URL for the image of the social account.