Create a webhook
Create a new webhook in an organization.
Payload Requirements
organization_id,name, andurlare required.- The webhook name must be unique within the organization (409 on conflict).
auth_typeis optional, defaults toBEARER, and cannot be changed after creation.auth_tokenis only valid whenauth_typeisBEARER, and is write-only — it is never returned in any response.timeout_msis optional, defaults to 30000, and must be between 1000 and 60000.headersis optional and holds at most 20 entries; header names must be valid HTTP header names, and connection-management headers are rejected.- System-managed fields (
id,created_at,updated_at) are generated automatically and rejected if provided.
For HMAC_SHA256 webhooks, a signing secret is generated and returned
in this response — the only time it is ever returned. Store it
securely: only a redacted hint is readable afterwards, and losing the
secret means deleting and recreating the webhook.
Authorizations
Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
Body
Body containing webhook creation parameters
The unique identifier of the organization to create the webhook in
"RW50aXR5OjEyMzQ1"
Name of the webhook (must be unique within the organization)
255The HTTPS endpoint events are delivered to
A brief description of the webhook's purpose. Defaults to an empty string if omitted.
How deliveries from this webhook are authenticated. Defaults to
BEARER if omitted, and cannot be changed after creation. For
HMAC_SHA256, a signing secret is generated for you and returned
once in the create response.
BEARER, HMAC_SHA256 The complete Authorization header value sent with each delivery
request, e.g. Bearer my-token. Sent verbatim — include the
Bearer prefix if your endpoint expects one. Only valid when
auth_type is BEARER. Write-only: never returned in any response.
How long a delivery request may run before it is abandoned, in milliseconds. Defaults to 30000 if omitted.
1000 <= x <= 60000Custom HTTP headers sent with each delivery request, as a map of at
most 20 header names to values. Header names must be valid HTTP
header names; connection-management headers (e.g. Host,
Content-Length) are rejected.
Response
The created webhook. For HMAC_SHA256 webhooks the response includes
signing_secret — the only time it is ever returned.
The created webhook, plus signing_secret for HMAC_SHA256 webhooks —
the only time the secret is ever returned.
Unique identifier for the webhook
"RW50aXR5OjEyMzQ1"
The unique identifier of the organization that owns the webhook
"RW50aXR5OjEyMzQ1"
Name of the webhook (unique within the organization)
255A brief description of the webhook's purpose. Defaults to an empty string.
The HTTPS endpoint events are delivered to
How deliveries from this webhook are authenticated. Fixed at creation.
BEARER, HMAC_SHA256 How long a delivery request may run before it is abandoned, in milliseconds. Defaults to 30000.
1000 <= x <= 60000Custom HTTP headers sent with each delivery request
Timestamp for when the webhook was created
Timestamp for when the webhook was last updated
The secret used to verify delivery signatures. Only returned
once, in this response, when auth_type is HMAC_SHA256.
Store it securely — it cannot be retrieved again; only a redacted
hint (signing_secret_hint) is readable afterwards. Absent for
BEARER webhooks.
Redacted hint of the signing secret (e.g. whsec_…abcd), useful for
identifying which secret the webhook uses. Present only for
HMAC_SHA256 webhooks.
The unique identifier of the user who created the webhook. Absent when that user has since been removed from the account.
"RW50aXR5OjEyMzQ1"