cURL
curl --request POST \ --url https://app.converza.io/api/openapi/v1/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Chave de Integração de Produção", "expires_at": "2026-12-31T23:59:59.000Z" } '
{ "success": true, "data": { "key_id": "cvz_key_abc123", "key_secret": "cvz_secret_xyz789", "name": "Chave de Integração de Produção", "created_at": "2023-11-07T05:31:56Z" } }
Cria uma nova chave API. O segredo é mostrado apenas uma vez - salve-o com segurança!
Token JWT obtido do endpoint /api/openapi/auth/token
Nome descritivo para a chave API
"Chave de Integração de Produção"
Data de expiração opcional (ISO 8601)
"2026-12-31T23:59:59.000Z"
Chave API criada com sucesso
true
Show child attributes
Was this page helpful?