Pular para o conteúdo principal
POST
/
sso
/
{customerName}
/
token
Token endpoint (OAuth 2.0 / OIDC)
curl --request POST \
  --url https://apis.cativalab.digital/social/v1/sso/{customerName}/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data grant_type=authorization_code \
  --data 'code=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'code_verifier=<string>'
{
  "access_token": "<string>",
  "id_token": "<string>",
  "token_type": "Bearer",
  "expires_in": 3600
}

Documentation Index

Fetch the complete documentation index at: https://docs.cativa.digital/llms.txt

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

Parâmetros de caminho

customerName
string
obrigatório

Corpo

application/x-www-form-urlencoded
grant_type
enum<string>
obrigatório
Opções disponíveis:
authorization_code
code
string
obrigatório
client_id
string
obrigatório
client_secret
string
obrigatório
redirect_uri
string<uri>
obrigatório
code_verifier
string
obrigatório

Resposta

200 - application/json

Tokens emitidos

access_token
string
id_token
string
token_type
string
Exemplo:

"Bearer"

expires_in
integer
Exemplo:

3600