v1
latestOpenAPI 3.0.32026-08-064799140.5 KBUsers
Create a social login for a user
Creates a new social login for a user by given userID. Social logins are used to authenticate users with third-party providers like Google, Microsoft, or GitHub.
You can set up social logins in the Developer Panel or consult the Documentation for more details.
post/users/{userID}/socialAccounts
Path parameters
userIDstring required
Example:usr-4693224802260150919
Unique identifier of the user. Format: usr-<number>.
Request body
Example request
{
"identifierValue": "jane@doe.com",
"foreignID": "53150919",
"avatarURL": "https://avatars.githubusercontent.com/u/53150919?v=4",
"fullName": "Jane Doe"
}Response
Social login has been created.
Example response
{
"socialAccountID": "soc-6060375336139150919",
"providerType": "github",
"identifierValue": "jane@doe.com",
"userID": "usr-4693224802260150919",
"foreignID": "53150919",
"avatarURL": "https://avatars.githubusercontent.com/u/53150919?v=4",
"fullName": "Jane Doe"
}