PostifyPostify Docs

Update a webhook endpoint

Updates the URL (re-validated through the SSRF gauntlet), the event-type subscription list, and/or `enabled`. Setting `enabled: true` on an auto-disabled endpoint clears its failure ladder and resumes deliveries.

PATCH
/v1/webhook-endpoints/{id}

Updates the URL (re-validated through the SSRF gauntlet), the event-type subscription list, and/or enabled. Setting enabled: true on an auto-disabled endpoint clears its failure ladder and resumes deliveries.

Authorization

AuthorizationBearer <token>

Organization API key as a Bearer token (postify_live_…).

In: header

Path Parameters

id*string

Webhook endpoint id.

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Partial update — at least one field is required.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/webhook-endpoints/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "url": "string",  "event_types": [    "post.published"  ],  "enabled": true,  "auto_disabled_at": "2019-08-24T14:15:22Z",  "consecutive_failures": -9007199254740991,  "created_at": "2019-08-24T14:15:22Z"}