The VOCPhone/Uniden Voice Over Cloud platform supports SMS webhooks that allow your applications to receive real-time notifications when SMS messages are received on your service numbers. This guide will help you set up and configure SMS webhooks for your applications.
When an SMS message is received on one of your service numbers, the system will:
Your webhook endpoint should:
If no custom parameters are specified, your webhook will receive all available SMS data:
{
"To": "+1234567890",
"From": "+0987654321",
"Body": "Hello, this is a test message"
}
The system maps internal SMS fields to webhook-friendly names:
Webhook Field | Internal Field | Description |
---|---|---|
To |
sendTo |
The recipient phone number (your service number) |
From |
sendFrom |
The sender's phone number |
Body |
Body |
The SMS message content |
You can specify which fields to include by setting the parameters
field in your webhook configuration. For example:
parameters = "To,From"
→ Only recipient and sender numbersparameters = "From,Body"
→ Only sender and message contentparameters = "To,From,Body"
→ All available fields