Skip to content

Generate a Token

post
https://api.mercadoe.com/v1/auth/tokens

Create a new access token based on ClientId and ClientSecret.

Request

Body

application/*+json
clientId
string
Key generated in the Partner’s portal > API Keys.
For more information, refer to Credenciais.
clientSecret
string
Secret generated in the Partner’s portal > API Keys.
For more information, refer to Credenciais.

Responses

200
400
401
Success

Body

application/json
accessToken
string
Access token based on ClientId and ClientSecret.
expiresIn
int32
Expiration date of the access token.