API Documentation
Messaging
Reporting
- Reports
- Webhooks
Deprecated (EOL Jan 2025)
- Messaging Examples
- Reporting Examples
- Webhook Examples
Webhooks
Webhook List
GET
/
v1
/
reporting
/
webhooks
curl --location 'https://api.sbmg.app/v1/reporting/webhooks' \
--header 'x-api-key: YOUR_API_KEY'
{
"webhooks": [
{
"id": 397,
"label": "Zapier Trigger",
"webhook_url": "https://zapier.com/developer/public-invite/186462/8c573cbeab5bcfc1a7f95247506e9d6c/",
"created": "2023-08-14 17:31:22"
},
{
"id": 1253,
"label": null,
"webhook_url": "https://hook.my-sms-callback.net",
"created": "2024-06-14 09:56:54"
}
]
}
curl --location 'https://api.sbmg.app/v1/reporting/webhooks' \
--header 'x-api-key: YOUR_API_KEY'
Response
An array of message log entries containing the following fields
The account ID associated with the message.
The phone number of the message recipient.
The direction of the message (e.g. “OUTBOUND”).
The content of the message.
The timestamp of the message in ISO 8601 format.
Additional metadata associated with the message.
{
"webhooks": [
{
"id": 397,
"label": "Zapier Trigger",
"webhook_url": "https://zapier.com/developer/public-invite/186462/8c573cbeab5bcfc1a7f95247506e9d6c/",
"created": "2023-08-14 17:31:22"
},
{
"id": 1253,
"label": null,
"webhook_url": "https://hook.my-sms-callback.net",
"created": "2024-06-14 09:56:54"
}
]
}
curl --location 'https://api.sbmg.app/v1/reporting/webhooks' \
--header 'x-api-key: YOUR_API_KEY'
{
"webhooks": [
{
"id": 397,
"label": "Zapier Trigger",
"webhook_url": "https://zapier.com/developer/public-invite/186462/8c573cbeab5bcfc1a7f95247506e9d6c/",
"created": "2023-08-14 17:31:22"
},
{
"id": 1253,
"label": null,
"webhook_url": "https://hook.my-sms-callback.net",
"created": "2024-06-14 09:56:54"
}
]
}