v1

latestOpenAPI 3.0.32026-07-24113102327.9 KB
AUTORIZAÇÃO

ACCESS_TOKEN - Como gerar o access_token

API para criação de ACCESS TOKEN

post/api/authorizations/access_token

Request body

codestring
consumer_keystring
consumer_secretstring
type_responsestring

Example request

{
  "code": "eb94c5b216e5a6d431ca6d091375ddd60a1e36d59d14eedfbb2040b10bc566ed",
  "consumer_key": "591bd5b330ac8a627b30be0e1759e477",
  "consumer_secret": "a6338165293798db125b74e61bc06a5e",
  "type_response": "J"
}

Response

RETURN ACESS_TOKEN

Example response

{
  "data_response": {
    "authorization": {
      "access_token": "2eb1047340ec11f578ebd3aeb99141b3e2553a862cee16fd0a4ae2cfbe8a9f49",
      "access_token_expiration": "2026-01-03T16:56:36.484-03:00",
      "refresh_token": "71d06f17ea947af8603e5b59d5048f6b",
      "refresh_token_expiration": "2026-04-02T16:56:36.484-03:00"
    }
  },
  "message_response": {
    "message": "success"
  }
}