Sign Customiser

Navigation

Dark mode

Webhook subscriptions

Update a webhook subscription

Copy page

Applies an RFC 7396 JSON Merge Patch to topic and/or url. Omitted fields remain unchanged; null, read-only, and unknown fields are rejected.

PATCH/api/v3/webhook-subscriptions/{webhook_id}
PATCHUpdate a webhook subscription
PATCH/api/v3/webhook-subscriptions/{webhook_id}

Update a webhook subscription

Applies an RFC 7396 JSON Merge Patch to `topic` and/or `url`. Omitted fields remain unchanged; null, read-only, and unknown fields are rejected. Requires `webhooks:write` and an `Idempotency-Key`. A patch that sends `topic` also requires the read scope of that topic. A patch that sends only `url` requires the read scope of the current topic. The API does not check existing subscriptions again.

Authorisation

The Authorization header expects a Bearer token. Generate one on the API keys page in your dashboard.

Path

The canonical subscription ID.

Body
Update a webhook subscription

Overview

Requires webhooks:write and an Idempotency-Key. A patch that sends topic also requires the read scope of that topic. A patch that sends only url requires the read scope of the current topic. The API does not check existing subscriptions again.

Authorisation

Bearer token required. Include it in the Authorization header.

Required scope: webhooks:write

Path parameters

webhook_idstringpathrequired

The canonical subscription ID.

Example: 1

Request body

topicstringbody
urlstringbody

Request body example

application/json
{
  "topic": "order:created",
  "url": "https://example.com/webhooks/sign-customiser-v2"
}
Update a webhook subscription
curl https://web.signcustomiser.com/api/v3/webhook-subscriptions/1 \
  --request PATCH \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "topic": "order:created",
  "url": "https://example.com/webhooks/sign-customiser-v2"
}'
Response
{
  "data": {
    "object": "webhook_subscription",
    "id": 42,
    "topic": "order:created",
    "url": "https://example.com/webhooks/sign-customiser-v2",
    "created_at": "2026-07-22T00:00:00Z",
    "updated_at": "2026-07-22T00:05:00Z"
  },
  "links": {
    "self": "https://web.signcustomiser.com/api/v3/webhook-subscriptions/42",
    "documentation": "https://www.signcustomiser.com/help/api/"
  },
  "meta": {
    "api_version": "v3",
    "request_id": "req_01jz9x2k7c8f3m5n6p7q8r9s0t"
  }
}

Type a question and press Enter. Use the arrow keys to move between the results.