Skip to main content
PUT
Replace a webhook

Authorizations

X-API-Key
string
header
required

Path Parameters

webhook_id
string<uuid>
required

Identifies the webhook. Primary key

Body

url
string<uri>
required

HTTPS destination events are delivered to

Maximum string length: 500
name
string

Your own label for this endpoint

Maximum string length: 100
secret
string
write-only

Secret used to sign each delivery, as an HMAC-SHA256 of {timestamp}.{body} sent as v1=<digest> in the Idenfy-TX-Signature header alongside Idenfy-TX-Timestamp. Never returned on a read: omit it to keep the stored one, or on create to have one generated and returned once

Maximum string length: 255
headers
object
write-only

Fixed headers added to every delivery, for an endpoint behind its own authentication. At most 10, and never returned on a read. The content type, signature, timestamp and event-type headers are set automatically and cannot be overridden

events
string[]

Event types delivered to this endpoint, from the documented set. Sent on an update, this replaces the list rather than adding to it

isActive
boolean
default:true

Whether deliveries are attempted; repeated failures turn this off

Response

200 - application/json
id
string<uuid>
required
read-only

Primary key

partnerId
integer
required
read-only
name
string
required
read-only

Operator-facing label; falls back to the URL when blank

url
string<uri>
required
read-only

Destination URL for signed event POSTs

hasSecret
boolean
required
read-only
headerNames
string[]
required
read-only
events
any
required
read-only

Subscribed event types, e.g. alert.created

isActive
boolean
required
read-only

False once manually disabled or auto-disabled

suspendedAt
string<date-time> | null
required
read-only

When repeated delivery failures disabled the webhook. Its events are held, not dropped, and sent once it is enabled again. Null when it is active or was disabled by hand.

retryCount
integer
required
read-only

Cumulative failed-delivery counter

lastDeliveryAt
string<date-time> | null
required
read-only

Timestamp of the most recent delivery attempt

lastStatusCode
integer | null
required
read-only

HTTP status of the most recent attempt

createdAt
string<date-time>
required
read-only
updatedAt
string<date-time>
required
read-only