curl --request POST \
--url https://gateway.jelou.ai/jelouapi/v1/external-support/{projectId} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"webhookUrl": "https://my-system.com/webhook/jelou",
"authType": "no_auth",
"authorization": "my-secret-token"
}
'{
"id": "INTEGRATION_ID",
"brainId": "BRAIN_ID",
"webhookUrl": "https://my-system.com/webhook/jelou",
"authType": "bearer",
"signingSecret": "a1b2c3d4...signing_secret_hex",
"createdAt": "2023-11-07T05:31:56Z"
}Cria uma nova integração com seu painel de atendimento externo
curl --request POST \
--url https://gateway.jelou.ai/jelouapi/v1/external-support/{projectId} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"webhookUrl": "https://my-system.com/webhook/jelou",
"authType": "no_auth",
"authorization": "my-secret-token"
}
'{
"id": "INTEGRATION_ID",
"brainId": "BRAIN_ID",
"webhookUrl": "https://my-system.com/webhook/jelou",
"authType": "bearer",
"signingSecret": "a1b2c3d4...signing_secret_hex",
"createdAt": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
Use this file to discover all available pages before exploring further.
signingSecret é exibido apenas na resposta de criação. Armazene-o com segurança.signingSecret único associado ao projeto.
POST https://gateway.jelou.ai/jelouapi/v1/external-support/{projectId}
https://meu-sistema.com/webhook/jeloux-api-key com a API key do projeto Jelou.
x-api-key: API_KEY
PROJECT_ID, configurando o webhook.
curl --request POST \
--url https://gateway.jelou.ai/jelouapi/v1/external-support/PROJECT_ID \
--header 'x-api-key: API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"webhookUrl": "https://meu-sistema.com/webhook/jelou"
}'
| Código | Status | Descrição |
|---|---|---|
| 200 | OK | Integração criada com sucesso. Inclui o signingSecret. |
| 422 | Unprocessable Entity | Os campos enviados contêm valores inválidos ou não passam nas validações. |
| 401 | Unauthorized | Credenciais de autenticação inválidas ou ausentes. |
| 500 | Internal Server Error | Erro interno do servidor. |
{
"message": [
"Integration created successfully"
],
"statusMessage": "success",
"status": 1,
"data": {
"id": "INTEGRATION_ID",
"brainId": "PROJECT_ID",
"webhookUrl": "https://meu-sistema.com/webhook/jelou",
"authType": "no_auth",
"signingSecret": "SIGNING_SECRET",
"createdAt": "2026-01-15T10:30:00.000Z"
}
}
Basic authentication using Base64 encoded clientId:clientSecret
Unique identifier of the Jelou project
Webhook URL where events will be sent
"https://my-system.com/webhook/jelou"
Authentication type for invoking the webhook
bearer, api_key, basic, no_auth Credentials for authenticating when invoking the webhook
"my-secret-token"
Esta página foi útil?