Skip to main content
PATCH
Update organization-level webhook

Authorizations

X-API-Key
string
header
required

Organization API key (sk_...). Get yours from Settings > API Keys in the dashboard.

Headers

X-Whitelabel-Slug
string

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.

Required string length: 1 - 100
X-Organization-Id
string<uuid>

Target 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

webhookId
string<uuid>
required

Webhook endpoint ID in this organization

Example:

"11111111-1111-4111-8111-111111111111"

Body

application/json
emailGrades
enum<string>[] | null

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.

Required array length: 1 - 4 elements
Available options:
A,
B,
C,
D
url
string<uri>
triggerMode
enum<string>
Available options:
first_match,
every_update
segmentId
string<uuid> | null
pixelId
string<uuid> | null
isActive
boolean
maxRequestsPerSecond
integer
Required range: 1 <= x <= 100
maxRetries
integer
Required range: 0 <= x <= 10
signaturesEnabled
boolean

Response

Webhook updated

Webhook endpoint configuration (secret not included)

id
string<uuid>
required
segmentId
string<uuid> | null
required
segmentName
string | null
required
url
string<uri>
required
signaturesEnabled
boolean
required

Whether to include HMAC signature header in webhook requests

triggerMode
enum<string>
required

Delivery mode

Available options:
first_match,
every_update
pixelId
string<uuid> | null
required

Optional pixel filter - if null, matches all pixels

pixelName
string | null
required
isActive
boolean
required
maxRequestsPerSecond
integer
required
Required range: 1 <= x <= 100
maxRetries
integer
required
Required range: 0 <= x <= 10
stats
object
required
createdAt
string
required
updatedAt
string
required
emailGrades
enum<string>[] | null

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.

Required array length: 1 - 4 elements
Available options:
A,
B,
C,
D