v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
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"
  }
}