Unsubscribe from webhook
This endpoint allows you to unsubscribe from a previously subscribed webhook event. Provide the event type and the callback URL to unsubscribe.
Authorizations
API key for the user making the request. This can be found via the Developer Settings page in the dashboard.
Team identifier, used to scope requests to a specific team. This can be found via the Developer Settings page in the dashboard.
Body
The type of webhook event you want to unsubscribe from.
NEW_RESPONSE
, PHONE_TRANSFER
, FOLDER_NEW_RESPONSE
, FOLDER_PHONE_TRANSFER
, ACTION_FAILED
The callback URL where the webhook was sending events.
Optional data that was associated with the subscription.
Response
The generic response format for all API requests. This structure ensures consistency in how success and error information is returned to the caller.
Contains the response data for the successful request. This field will vary based on the specific API endpoint being called and contains the main data returned from the API. For example, it may include information about a created contact, agent, or webhook subscription.
An object containing error details, if any. This field will be populated if the API request fails or encounters an error. If the request is successful, this field will be null or omitted.
Was this page helpful?