Webhook
Change Status
Enables or disables a registered webhook for a specific event type.
PATCH
Overview
The PATCH /webhook/status
endpoint allows you to activate or deactivate a registered webhook for a specific event type.
Key Steps:
- Send a
PATCH
request to/webhook/status
with theevent_type
,is_active
status, andorganization_public_id
. - If successful, the webhook will be updated, and notifications will either be enabled or disabled accordingly.
Example Request
To disable a webhook for the "scribe"
event type, send the following request:
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
API versioning is required. Include the header X-API-Version
with current version value in all requests.
Example:
"v1"
Body
application/json
Payload to update the webhook status.
The type of event associated with the webhook.
Example:
"scribe"
Determines whether the webhook is active (true
) or inactive (false
).
Example:
false
The unique identifier for the organization that owns the webhook.
Example:
"<string>"