cURL
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 } }
Gera um token de acesso JWT a partir das credenciais da chave API. O token é válido por 24 horas.
ID da Chave API (começa com cvz_key_)
"cvz_key_abc123"
Segredo da Chave API (começa com cvz_secret_)
"cvz_secret_xyz789"
Token gerado com sucesso
true
Show child attributes
Was this page helpful?