Integration
Update integration
Update the configuration of your external support panel integration
PATCH
/
v1
/
external-support
/
{projectId}
Update Integration
curl --request PATCH \
--url https://gateway.jelou.ai/platform/v1/external-support/{projectId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"webhookUrl": "https://my-system.com/webhook/jelou-v2",
"authorization": "<string>"
}
'import requests
url = "https://gateway.jelou.ai/platform/v1/external-support/{projectId}"
payload = {
"webhookUrl": "https://my-system.com/webhook/jelou-v2",
"authorization": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
webhookUrl: 'https://my-system.com/webhook/jelou-v2',
authorization: '<string>'
})
};
fetch('https://gateway.jelou.ai/platform/v1/external-support/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://gateway.jelou.ai/platform/v1/external-support/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'webhookUrl' => 'https://my-system.com/webhook/jelou-v2',
'authorization' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://gateway.jelou.ai/platform/v1/external-support/{projectId}"
payload := strings.NewReader("{\n \"webhookUrl\": \"https://my-system.com/webhook/jelou-v2\",\n \"authorization\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://gateway.jelou.ai/platform/v1/external-support/{projectId}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"webhookUrl\": \"https://my-system.com/webhook/jelou-v2\",\n \"authorization\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.jelou.ai/platform/v1/external-support/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"webhookUrl\": \"https://my-system.com/webhook/jelou-v2\",\n \"authorization\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"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"
}{
"message": "<string>",
"statusMessage": "<string>",
"status": 123,
"error": {
"code": "<string>",
"key": "<string>",
"description": "<string>",
"developerMessages": {},
"clientMessages": {}
},
"validationError": {}
}{
"message": "<string>",
"statusMessage": "<string>",
"status": 123,
"error": {
"code": "<string>",
"key": "<string>",
"description": "<string>",
"developerMessages": {},
"clientMessages": {}
},
"validationError": {}
}Description
Modifies the configuration of an existing integration with the external support panel. Allows updating the webhook URL.Endpoint
PATCH https://gateway.jelou.ai/platform/v1/external-support/{projectId}
Path parameters
Body parameters
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-v2Authentication
All requests must include thex-api-key header with your Jelou project API key.
x-api-key: API_KEY
Request example
The following example updates the webhook configured for projectPROJECT_ID:
cURL
curl --request PATCH \
--url https://gateway.jelou.ai/platform/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
| Code | Status | Description |
|---|---|---|
| 200 | OK | Integration updated successfully. |
| 400 | Bad Request | Invalid data format or disallowed values. |
| 401 | Unauthorized | Invalid or missing authentication credentials. |
| 404 | Not Found | No integration exists for the specified projectId. |
| 500 | Internal Server Error | Internal 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"
}
}
Body
application/json
Was this page helpful?
⌘I
Update Integration
curl --request PATCH \
--url https://gateway.jelou.ai/platform/v1/external-support/{projectId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"webhookUrl": "https://my-system.com/webhook/jelou-v2",
"authorization": "<string>"
}
'import requests
url = "https://gateway.jelou.ai/platform/v1/external-support/{projectId}"
payload = {
"webhookUrl": "https://my-system.com/webhook/jelou-v2",
"authorization": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
webhookUrl: 'https://my-system.com/webhook/jelou-v2',
authorization: '<string>'
})
};
fetch('https://gateway.jelou.ai/platform/v1/external-support/{projectId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://gateway.jelou.ai/platform/v1/external-support/{projectId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'webhookUrl' => 'https://my-system.com/webhook/jelou-v2',
'authorization' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://gateway.jelou.ai/platform/v1/external-support/{projectId}"
payload := strings.NewReader("{\n \"webhookUrl\": \"https://my-system.com/webhook/jelou-v2\",\n \"authorization\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://gateway.jelou.ai/platform/v1/external-support/{projectId}")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"webhookUrl\": \"https://my-system.com/webhook/jelou-v2\",\n \"authorization\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.jelou.ai/platform/v1/external-support/{projectId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"webhookUrl\": \"https://my-system.com/webhook/jelou-v2\",\n \"authorization\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"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"
}{
"message": "<string>",
"statusMessage": "<string>",
"status": 123,
"error": {
"code": "<string>",
"key": "<string>",
"description": "<string>",
"developerMessages": {},
"clientMessages": {}
},
"validationError": {}
}{
"message": "<string>",
"statusMessage": "<string>",
"status": 123,
"error": {
"code": "<string>",
"key": "<string>",
"description": "<string>",
"developerMessages": {},
"clientMessages": {}
},
"validationError": {}
}