Tokens
Login via social network
Login of a customer account to client's application via social network. ⚠️ Endpoint is available only in Customer interface.
post/tokens/{token_id}/actions/social-network-login
Path parameters
token_idstring required
A client application token.
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"social_network_credentials": {
"social_network_id": "twitter",
"social_network_token": "38e123j1jedu12d1jnjqwd"
}
}Response
OK
Example response
{
"data": {
"customer_id": "8ea6abece4cd0a4ded0a29f093"
}
}