Skip to main content
POST
Troca client credentials por um token escopado ao HistorinhAI — planejado

Body

application/x-www-form-urlencoded
grant_type
enum<string>
required
Available options:
client_credentials
client_id
string
required
Example:

"algar-historinhai-a1b2c3"

client_secret
string<password>
required
scope
string

Único valor suportado hoje.

Example:

"historinhai:engagement:read"

Response

Token emitido.

access_token
string
token_type
enum<string>
Available options:
Bearer
expires_in
integer
Example:

600

scope
string
Example:

"historinhai:engagement:read"