Skip to main content
POST
/
api
/
openapi
/
auth
/
token
Gerar Token de Acesso
curl --request POST \
  --url https://app.converza.io/api/openapi/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "key_id": "cvz_key_abc123",
  "key_secret": "cvz_secret_xyz789"
}
'
{
  "success": true,
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "token_type": "Bearer",
    "expires_in": 86400
  }
}

Body

application/json
key_id
string
required

ID da Chave API (começa com cvz_key_)

Example:

"cvz_key_abc123"

key_secret
string
required

Segredo da Chave API (começa com cvz_secret_)

Example:

"cvz_secret_xyz789"

Response

Token gerado com sucesso

success
boolean
Example:

true

data
object