Webhooks
Update a Webhook
Updates an existing webhook’s signing key or scope based on its ID. This endpoint allows clients to modify the scope of events for whom the webhook sends data or update the signing key used for verifying the authenticity of webhook payloads. The id
parameter in the path specifies the webhook to be updated. The request body should include the new scope or signing key. This operation helps clients maintain the accuracy and security of their webhook configurations.
PATCH
/
notification
/
v1
/
connect
/
webhook
/
subscriptions
/
{id}
Authorizations
auth
string
headerrequiredThe API requires the following auth in headers for authentication.
Path Parameters
id
string
requiredBody
application/json
signing_key
string
A new signing key for securing webhook payloads. This should replace the existing signing key securely.
scope
string
Specifies the type of events that will trigger the webhook.
- "all": Trigger on all events.
- "appointment.*": Trigger on appointment-related events.
- "prescription.*": Trigger on appointment-related events.
Response
200 - application/json
status
string
msg
string