Skip to main content
POST
/
domain-cliente
/
token
Get Token
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
client_id
integer
required

Client ID

client_secret
string
required

Client secret

grant_type
string
required

Concession type

Example:

"client_credentials"

Response

Token successfully obtained

access_token
string

The access token

token_type
string

Type token

Example:

"Bearer"

expires_in
integer

Token expiration time in seconds