apidata.one docs Get a key

PATCH /v1/webhook-endpoints/{id}

Change an endpoint's notice types or description, or pause it.

Access
Keys secret only
Plan every plan
Environment live and sandbox
Acts for the account
While the account is suspended refused
During a data stop works

Path

Name Type Description
id string Required. The endpoint's ID, "wh_…".

Body

Send any of the three; only what you send changes. The address can not be changed.

Field Type Description
eventTypes list of saved_search.matches, favorite.listing_updated, favorite.listing_removed, listing.removed, account.suspended, account.reinstated, data.stale (optional) The notice types the endpoint receives. Left out when creating: all seven.
description string or null (optional) null removes it.
enabled boolean (optional)
{
  "enabled": false
}

Answers

200: The endpoint as it is now

The answer is { data, meta }; meta holds requestId and environment.

data is a WebhookEndpoint.

Errors

Every error has the same body, and says how to fix it (responses and errors).

More

Send any of eventTypes, description and enabled; only what you send changes. description: null removes the description. An empty body is 400 validation_failed. Response 200 with the object.

This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.

This page as Markdown