Token de Acesso
POST
/oauth/tokenApós solicitar e ter em posse suas credencias de integração Gerando Chaves de Acesso, você conseguirá através deste endpoint obter seu token JWT de acesso para consumir toda nossa infraestrutura de serviços.
Request
Body Params application/json
client_id
string
required
Identificador de cliente
client_secret
string
required
Palavra passe do cliente
grant_type
string
required
Tipo de autenticação. Default: client_credentials
Example
{
"client_id": "AHUf0tmjTNybprojVAzqbDyVHP",
"client_secret": "ly5qaDwfwXaVZ2_e__mztMrbHKh6zwhZSwRLg4KCxENf8vQdBsJnV",
"grant_type": "client_credentials"
}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
access_token
string
required
Token de acesso que será utilizado no Header das solicitações
expires_in
integer
required
Tempo de expiração do token em segundos
token_type
string
required
Tipo de token
Example
{
"access_token": "eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.hfXkRhP0acvo-qRZkEPjdHPr9mycdX1RWbDURWk0qCMIaCcgtL67JF9JoHW-mIm5wSqgEixJaZr3YDzCwVSA5NK1ax2UVonCnN1qJdsQgk5eeRmCqFUEExCGAiAiohMMTzMtHw5woBmXhP-PzJ-0eXd8x4WSYJxek-lssehP7HpoFQmjliqnqAr4gJdF8wkdi5BG55rOze7p3QqSrHUeeD7HlTXIizg03vjxdseTe_Tk1ZS7F3hUk7Eu46RAEWJeuSulix8expQurwcENSvYP7Bo2ZJDaZdmeqkaSvyI5LV5r08d0ZTwJrM8wJvaa208OEHe1lJeiVS2j22CgHPuDg.uVJD4BQcdYGVAADG.OJdcA-1O-DwneTeOwnZBvHn7kDswlEPyDzDsWbNwPqguAOQAiTPmd-wz7QBaHTniwmDmKBK2RzS-kaYZJWOJjdvCTZ9Ud99OKQ87V1JTaU0RbAW3P_nWMAJQjJmFhQPHD0RP3r6lAV-BGLFUdahHOquUF1wZoMUTpFUXqxZY9C_Bxvwla7lbNzvXF1nU9H8Aa0OX__bNR1km-MkAUX5YcJ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