Inbound Communications
Receive SMS
Handle incoming SMS messages
POST
This webhook endpoint processes incoming SMS messages from customers. Configure your SMS provider (e.g., Twilio) to forward messages to this endpoint.
Webhook Payload
Sender’s phone number in E.164 format (e.g., +13105551234)
Recipient phone number (your Avoca number)
The text content of the SMS message
Unique identifier from the SMS provider
ISO 8601 timestamp when message was received
Array of media attachments (MMS)
Additional provider-specific metadata
Response
The webhook should return a response indicating how to handle the message.Whether the message was processed successfully
Action taken on the message:
auto_reply- AI will respond automaticallycreate_ticket- Create ServiceTitan ticketforward- Forward to human agentignore- No action needed
Auto-reply configuration if applicable
Processing results
Common SMS Intents
The system automatically detects and handles common SMS intents:| Intent | Keywords | Action |
|---|---|---|
| Confirmation | ”confirm”, “yes”, “y” | Confirm appointment |
| Reschedule | ”reschedule”, “change time” | Start reschedule flow |
| Cancel | ”cancel”, “can’t make it” | Cancel appointment |
| Emergency | ”emergency”, “urgent”, “asap” | Priority routing |
| Stop | ”stop”, “unsubscribe” | Opt-out handling |
| Help | ”help”, “info” | Send help message |