Update a webhook
2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.Update webhook properties. All fields are optional - only provided fields will be updated.
Plan Requirement: Requires SOLO plan or higher.
AuthorizationBearer <token>Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
id*stringIdempotency-Key?stringMakes retries safe. A retry with the same key and the same request replays the stored response for 24 hours (header Idempotent-Replayed: true); the same key with a different request returns 400.
length <= 255Body
application/json- body
Update webhook request
webhookUrl?stringURL that will receive webhook events
urieventTriggers?array<>List of event types to subscribe to
1 <= itemssecret?|Signing key for this endpoint, used for the X-Sajn-Signature header
enabled?booleanWhether this webhook is active
failureNotificationEmail?|Email address that will be notified if webhook delivery fails
^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$emailWebhook response
application/json- response
Webhook response
id*stringUnique webhook identifier
webhookUrl*stringURL that receives webhook events
secret*|Signing key for this endpoint. Deliveries carry X-Sajn-Signature: t=,v1=<hex hmac-sha256 over ".">
enabled*booleanWhether this webhook is active
failureNotificationEmail*|Email address that receives a notification if webhook delivery fails
eventTriggers*array<string>List of event types this webhook subscribes to
createdAt*stringDate and time when webhook was created
date-timeupdatedAt*stringDate and time when webhook was last updated
date-timecurl -X PATCH 'https://app.sajn.se/api/v1/webhooks/string' \ -H 'authorization: string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "webhookUrl": "string", "secret": "string", "enabled": true, "failureNotificationEmail": "string", "eventTriggers": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Was this page helpful?