POST
/
messenger
/
v2
/
link
curl --request POST \
  --url https://svc.sandbox.anon.com/messenger/v2/link \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-anon-sdk-client-id: <x-anon-sdk-client-id>' \
  --data '{
  "userId": "<string>",
  "platform": "instagram"
}'
{
  "username": "<string>",
  "displayName": "<string>"
}

Headers

x-anon-sdk-client-id
string
required

Your Anon SdkClient ID.

Authorization
string
required

Your Anon API Key

Body

application/json
userId
string
required

The user's unique identifier in your system. Must match the sub claim in JWT ID tokens used with the Link SDK

platform
enum<string>
required
Available options:
instagram

Response

200 - application/json
username
string

The user's username on the platform.

displayName
string

The user's display name on the platform.