Update an endpoint's url, events, description or active flag

Changed on

Partial update. An invalid or non-public HTTPS url fails with HTTP 400. event_types is filtered against the supported list exactly as on create; read the response back to confirm what was stored. Setting active: true also resets failure_count to 0, which is how you re-enable an endpoint we auto-disabled after repeated delivery failures.

patch/v1/webhooks/{id}

Request

  • Base URL
    https://api.trackingmcp.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Request body

object required
url, string uri
event_types, WebhookEventType[]
description, string
active, boolean

true also clears the failure counter.

Response

Updated endpoint (id, url, event_types, description, active).

object required
ok, true
data, WebhookEndpoint

A registered webhook endpoint. The signing secret is NOT part of this shape: it is returned once, on create, and never again. failure_count and last_delivery_at are present on the list and detail responses but not on the create or update responses.

api_version, string

The response contract this build answers, as a date (YYYY-MM-DD). Added to every JSON object body on /v1.

Changes

    • warning

      added the new HLCU enum value to the carrier_notice/carrier_code response property for the response status

    • warning

      added the new HLCU enum value to the carrier_notice/carrier_code response property for the response status

    • warning

      added the new HLCU enum value to the carrier_notice/carrier_code response property for the response status

    21 more changes in this revision