v1
latestOpenAPI 3.0.32026-08-0422127127.8 KBWebhook
Create Webhook
We use webhooks to let your application know when events happen, such as receiving an SMS message. When the event occurs, the system makes an HTTP request (usually a POST) to the URL you configured for the webhook. The request will include details of the event such as the incoming phone number or the body of an incoming message.
post/v2/webhook
Request body
Example request
{
"filter": {
"event_type": [
"SMS_STATUS",
"SMS_INBOUND"
],
"sender": [
"+61412345678",
"+61487654321"
],
"status": [
"DELIVERED",
"FAILED"
],
"message_ref": [
"ref123",
"ref456"
],
"campaign_id": [
"campaign_123",
"campaign_456"
]
},
"name": "My Webhook",
"url": "https://example.com/webhook"
}Response
Webhook created successfully
Example response
{
"id": "67e3e4af-62e8-4515-8b67-6f20d0c51ffb",
"filter": {
"event_type": [
"SMS_STATUS",
"SMS_INBOUND"
],
"sender": [
"+61412345678",
"+61487654321"
],
"status": [
"DELIVERED",
"FAILED"
],
"message_ref": [
"ref123",
"ref456"
],
"campaign_id": [
"campaign_123",
"campaign_456"
]
},
"name": "Hook",
"url": "https://webhook.site/uuid",
"rate_limit": 10,
"created_at": "2025-04-14T00:59:32.75819Z",
"updated_at": "2025-04-14T00:59:32.75819Z"
}