Gerar token

POST
Markdown (LLM)

Emite o par de tokens da credencial.

Parâmetros do body

grantTypestring

Define o contrato do body.

Enum

  • client_credentialsEmite um novo par de tokens
"client_credentials"
clientIduuid

Identificador público da credencial.

"6b1f1a2c-9f0e-4d21-8f6f-2f4c9a7b1d33"
clientSecretstring

Segredo devolvido apenas na criação da credencial.

"sk_live_9f2a7c4e8b1d40a3b6c5e7f0a1b2c3d4"

Parâmetros da resposta

accessTokenstring (jwt)

Token usado no header Authorization: Bearer.

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJz…"
refreshTokenstring (jwt)

Token de renovação, válido por 30 dias.

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJy…"
expiresAtstring (ISO 8601)

Momento em que o accessToken expira (1 hora).

"2026-08-18T16:00:00.000Z"