Skip to main content
POST
Link a social account to the user

Authorizations

Authorization
string
header
required

Personal API key sent as a bearer token.

Body

application/json
provider
required
Available options:
apple,
atlassian,
cognito,
discord,
facebook,
figma,
github,
microsoft,
google,
huggingface,
slack,
spotify,
twitch,
twitter,
dropbox,
kick,
linear,
linkedin,
gitlab,
tiktok,
reddit,
roblox,
salesforce,
vk,
zoom,
notion,
kakao,
naver,
line,
paybin,
paypal,
polar,
railway,
vercel,
wechat
callbackURL
string

The URL to redirect to after the user has signed in

idToken
object
requestSignUp
boolean
scopes
string[]

Additional scopes to request from the provider

errorCallbackURL
string

The URL to redirect to if there is an error during the link process

disableRedirect
boolean

Disable automatic redirection to the provider. Useful for handling the redirection yourself

additionalData
object

Response

Success

redirect
boolean
required

Indicates if the user should be redirected to the authorization URL

url
string

The authorization URL to redirect the user to

status
boolean