Unsubscribe from webhooks
POST/api/v1/webhooks/unsubscribe
Cancel a webhook subscription to stop receiving notifications for specific events.
Request
- application/json
- Body
- Successful unsubscribe request
Body
Provide the details of the webhook subscription you wish to cancel.
hookUrlstring
The URL of your webhook endpoint, where HelloSMS will send event notifications.
typestring
Specifies the event type that triggers the webhook: INCOMING_SMS (new message) or SIGNOFF (recipient opt-out).
{
"hookUrl": "https://mywebhook.com",
"type": "INCOMING_SMS"
}
Responses
- 200
- 400
- 401
The webhook was successfully unsubscribed.
Bad Request.
Unauthorized.