cURL
curl --request POST \ --url https://api.artisn.desarrollo-redbrand.com/api/domain-cliente/token \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "client_id": 123, "client_secret": "<string>", "grant_type": "client_credentials" } '
{ "access_token": "<string>", "token_type": "Bearer", "expires_in": 123 }
This service is exposed by Trade so that the client can obtain the access token that will be used in other methods
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Client ID
Client secret
Concession type
"client_credentials"
Token successfully obtained
The access token
Type token
"Bearer"
Token expiration time in seconds