Skip to main content
POST
/
v1
/
authentication
/
accesstoken
Gerar token de acesso.
curl --request POST \
  --url https://api.staging.cartaosimples.com.br/integration/v1/authentication/accesstoken \
  --header 'Content-Type: application/json' \
  --data '
{
  "clientId": "<string>",
  "clientSecret": "<string>"
}
'
{
  "accessToken": "<string>",
  "expiresIn": 123,
  "expiresAt": "2023-11-07T05:31:56Z",
  "tokenType": "<string>",
  "scope": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://documentacao.cartaosimples.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
clientId
string
required
Minimum string length: 1
clientSecret
string
required
Minimum string length: 1

Response

OK

accessToken
string | null
expiresIn
integer<int32>
expiresAt
string<date-time>
read-only
tokenType
string | null
scope
string | null