Skip to main content
PATCH
/
v1
/
external-support
/
{projectId}
Update Integration
curl --request PATCH \
  --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-v2",
  "authType": "bearer",
  "authorization": "<string>"
}
'
{
  "id": "INTEGRATION_ID",
  "brainId": "BRAIN_ID",
  "webhookUrl": "https://my-system.com/webhook/jelou",
  "authType": "bearer",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "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.

Description

Modifies the configuration of an existing integration with the external support panel. Allows updating the webhook URL.

Endpoint

PATCH https://gateway.jelou.ai/jelouapi/v1/external-support/{projectId}

Path parameters

projectId
string
required
Unique identifier of the Jelou project whose integration you want to update.

Body parameters

webhookUrl
string
New URL of the endpoint in your system that will receive Jelou events. Must be a publicly accessible HTTPS URL.Example: https://my-system.com/webhook/jelou-v2

Authentication

All requests must include the x-api-key header with your Jelou project API key.
x-api-key: API_KEY

Request example

The following example updates the webhook configured for project PROJECT_ID:
cURL
curl --request PATCH \
  --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://my-system.com/webhook/jelou-v2"
  }'

Responses

CodeStatusDescription
200OKIntegration updated successfully.
400Bad RequestInvalid data format or disallowed values.
401UnauthorizedInvalid or missing authentication credentials.
404Not FoundNo integration exists for the specified projectId.
500Internal Server ErrorInternal server error.

Response example

{
  "message": [
    "Integration updated successfully"
  ],
  "statusMessage": "success",
  "status": 1,
  "data": {
    "brainId": "PROJECT_ID",
    "webhookUrl": "https://my-system.com/webhook/jelou-v2",
    "createdAt": "2026-01-15T10:30:00.000Z",
    "updatedAt": "2026-01-22T09:15:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication using Base64 encoded clientId:clientSecret

Path Parameters

projectId
string
required

Unique identifier of the Jelou project

Body

application/json
webhookUrl
string<uri>

New webhook URL

Example:

"https://my-system.com/webhook/jelou-v2"

authType
enum<string>

New authentication type

Available options:
bearer,
api_key,
basic,
no_auth
authorization
string

New credentials

Response

Integration updated successfully

id
string
Example:

"INTEGRATION_ID"

brainId
string
Example:

"BRAIN_ID"

webhookUrl
string
Example:

"https://my-system.com/webhook/jelou"

authType
string
Example:

"bearer"

createdAt
string<date-time>
updatedAt
string<date-time>