Skip to content

Change, pause or resume a webhook endpoint

On this page
PATCH/v1/webhook-endpoints/{endpoint_id}update_webhook_endpoint
Riskwrite
AuthenticationAPI key or OAuth access token
Scopeswebhooks:write
Idempotencysupported: send an Idempotency-Key header to make retries safe
Dry runyes: add dry_run=true to the query
Success status200
Response typeapplication/json

What it does#

  • Use when: You change the address, description or event types, pause deliveries, or resume a disabled endpoint with status active.
  • Do not use when: you want a new signing secret (call rotate_webhook_secret).
  • Side effects: Changes the endpoint; A paused endpoint drops events until it is resumed.
  • Reversible: Yes, call update_webhook_endpoint again.
  • Required scope: webhooks:write.
  • Idempotency: supported (Idempotency-Key header).
  • Typical next step: call send_test_webhook after changing the address.

Scopes#

  • webhooks:write: Create, change and delete webhook endpoints.

Side effects#

  • Changes the endpoint
  • A paused endpoint drops events until it is resumed

Request#

Path parameters#

FieldTypeDescription
endpoint_idstring

Query parameters#

None.

Every mutation also accepts dry_run=true: it runs every check and returns {"dry_run": true, "would": {...}} without writing anything.

Body (application/json)#

FieldTypeRequiredDescription
urlstring, max 2048 charactersnoAn https address on port 443 with a public DNS name. IP addresses, localhost and private networks are refused.
descriptionstring, max 200 characters or nullno
event_typesarray of string, max 60 characters, max 36 itemsnoEvent types to receive (see list_event_types), or ["*"] for all.
statusone of "active", "paused"no

Response#

FieldTypeRequiredDescription
idstringyes
urlstringyes
descriptionstring or nullyes
event_typesarray of stringyesSubscribed event types, or ["*"] for all of them.
statusone of "active", "paused", "disabled_failing"yesdisabled_failing means every delivery failed for 5 days or the receiver answered 410 Gone. Update the endpoint to active to resume.
secret_rotation_ends_atstring or nullyesWhile set, deliveries are signed with the new and the previous secret.
failing_sincestring or nullyes
created_atstringyesRFC 3339 UTC timestamp.

Examples#

pause#

Request:

curl -X PATCH 'https://api.seemly.com/v1/webhook-endpoints/whe_4d8x2p0q7r3m9k1v5t6w8y0z' \
  -H "Authorization: Bearer $SEEMLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "status": "paused"
}'

Response: 200:

JSON
{
  "id": "whe_4d8x2p0q7r3m9k1v5t6w8y0z",
  "url": "https://hooks.example.com/seemly",
  "description": "Order sync",
  "event_types": [
    "subscriber.confirmed",
    "subscriber.unsubscribed"
  ],
  "status": "paused",
  "secret_rotation_ends_at": null,
  "failing_since": null,
  "created_at": "2026-12-02T09:30:00Z"
}

Errors#

Every error is an application/problem+json body with a code, a fix sentence and next_actions. See reading a problem response.

Typical next steps#

View this page as MarkdownReport a problem with this page

Type to search. Try a method and path, an operation name or an error code.