curl --request PATCH \
--url https://api.aws53.cloud/v1/data/webhooks/{webhookId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"isActive": false,
"maxRequestsPerSecond": 10
}
'import requests
url = "https://api.aws53.cloud/v1/data/webhooks/{webhookId}"
payload = {
"isActive": False,
"maxRequestsPerSecond": 10
}
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({isActive: false, maxRequestsPerSecond: 10})
};
fetch('https://api.aws53.cloud/v1/data/webhooks/{webhookId}', 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://api.aws53.cloud/v1/data/webhooks/{webhookId}",
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([
'isActive' => false,
'maxRequestsPerSecond' => 10
]),
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://api.aws53.cloud/v1/data/webhooks/{webhookId}"
payload := strings.NewReader("{\n \"isActive\": false,\n \"maxRequestsPerSecond\": 10\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://api.aws53.cloud/v1/data/webhooks/{webhookId}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"isActive\": false,\n \"maxRequestsPerSecond\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/data/webhooks/{webhookId}")
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 \"isActive\": false,\n \"maxRequestsPerSecond\": 10\n}"
response = http.request(request)
puts response.read_body{
"id": "11111111-1111-4111-8111-111111111111",
"segmentId": null,
"segmentName": null,
"url": "https://receiver.example.test/visitors",
"signaturesEnabled": true,
"triggerMode": "first_match",
"pixelId": null,
"pixelName": null,
"isActive": true,
"maxRequestsPerSecond": 5,
"maxRetries": 3,
"stats": {
"totalDeliveries": 0,
"successfulDeliveries": 0,
"failedDeliveries": 0,
"successRate": 100,
"lastDeliveredAt": null,
"lastFailureAt": null,
"lastFailureReason": null
},
"createdAt": "2026-01-15T10:00:00Z",
"updatedAt": "2026-01-15T10:00:00Z"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid webhook request"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "HTTP_ERROR",
"message": "Missing or invalid API key"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "HTTP_ERROR",
"message": "API key revoked or organization lacks visitor Data API access"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "HTTP_ERROR",
"message": "Webhook or filter not found in this organization"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests, please try again later"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}Update organization-level webhook
Update an organization-owned webhook. Omitted fields preserve their current values. Set emailGrades to null for all contact emails, including unknown grades, or select multiple grades such as [“A”,“B”,“C”]. The selection applies to queued deliveries and retries; no selected address means no send. Updating a selection does not replay previously delivered notifications. Requires an organization API key with visitor Data API access. All webhook operations share 30 requests per 60 seconds per source IP. Dedicated admin API credentials also authorize platform-wide management, including white-label targets; customer bearer/API-key restrictions described above remain unchanged. Existing resource validation and business-state rules still apply.
curl --request PATCH \
--url https://api.aws53.cloud/v1/data/webhooks/{webhookId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"isActive": false,
"maxRequestsPerSecond": 10
}
'import requests
url = "https://api.aws53.cloud/v1/data/webhooks/{webhookId}"
payload = {
"isActive": False,
"maxRequestsPerSecond": 10
}
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({isActive: false, maxRequestsPerSecond: 10})
};
fetch('https://api.aws53.cloud/v1/data/webhooks/{webhookId}', 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://api.aws53.cloud/v1/data/webhooks/{webhookId}",
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([
'isActive' => false,
'maxRequestsPerSecond' => 10
]),
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://api.aws53.cloud/v1/data/webhooks/{webhookId}"
payload := strings.NewReader("{\n \"isActive\": false,\n \"maxRequestsPerSecond\": 10\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://api.aws53.cloud/v1/data/webhooks/{webhookId}")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"isActive\": false,\n \"maxRequestsPerSecond\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aws53.cloud/v1/data/webhooks/{webhookId}")
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 \"isActive\": false,\n \"maxRequestsPerSecond\": 10\n}"
response = http.request(request)
puts response.read_body{
"id": "11111111-1111-4111-8111-111111111111",
"segmentId": null,
"segmentName": null,
"url": "https://receiver.example.test/visitors",
"signaturesEnabled": true,
"triggerMode": "first_match",
"pixelId": null,
"pixelName": null,
"isActive": true,
"maxRequestsPerSecond": 5,
"maxRetries": 3,
"stats": {
"totalDeliveries": 0,
"successfulDeliveries": 0,
"failedDeliveries": 0,
"successRate": 100,
"lastDeliveredAt": null,
"lastFailureAt": null,
"lastFailureReason": null
},
"createdAt": "2026-01-15T10:00:00Z",
"updatedAt": "2026-01-15T10:00:00Z"
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid webhook request"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "HTTP_ERROR",
"message": "Missing or invalid API key"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "HTTP_ERROR",
"message": "API key revoked or organization lacks visitor Data API access"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "HTTP_ERROR",
"message": "Webhook or filter not found in this organization"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Too many requests, please try again later"
},
"meta": {
"timestamp": "2026-01-15T10:00:00Z",
"request_id": "11111111-1111-4111-8111-111111111111"
}
}Authorizations
Headers
Optional tenant context for admin-key operations without an organization target, such as creating an organization. Defaults to the master tenant. Must match an explicit target organization when both are supplied. Does not limit the key’s platform authority.
1 - 100Target organization for admin-key requests on organization-context routes, including Data API, intent audiences and dashboard routes without an organization path parameter. Required on those routes. When supplied with an organization path parameter, both must identify the same organization; conflicting targets return 400. Does not grant access to customer credentials.
Path Parameters
Body
null sends all emails, including unknown grades. Otherwise select one or more grades (A valid, B catchall, C risky, D invalid). Only selected addresses are sent; a visitor with no selected address is skipped.
1 - 4 elementsA, B, C, D Response
Webhook updated
Webhook endpoint configuration (secret not included)
null sends all emails, including unknown grades. Otherwise select one or more grades (A valid, B catchall, C risky, D invalid). Only selected addresses are sent; a visitor with no selected address is skipped.
1 - 4 elementsA, B, C, D Was this page helpful?