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.
Body
application/json
Payload to update the webhook status.
The body is of type object
.
Response
200 - application/json
Webhook's is_active status updated successfully.
The response is of type object
.