Webhooks Setup
Configure real-time notifications for your messaging events
Overview
Webhooks provide real-time updates for:
- Message Status Updates: Delivery confirmations, read receipts, and failures
- Customer Interactions: Replies, button clicks, suggestion interactions
Webhook Configuration
Setting Up Webhook Endpoints
Step 1: Access Webhook Settings
- Log into your Smobi dashboard
- Navigate to Settings in the sidebar
- Click on your brand name
- Find the Webhooks section
Step 2: Configure Endpoints
You can configure multiple webhook endpoints for different purposes:
Message Status Webhook
- Purpose: Receive message delivery updates
- URL: Your endpoint for status notifications
- Events: Message delivered, read, failed, etc.
Inbound Message Webhook
- Purpose: Receive customer messages and interactions
- URL: Your endpoint for inbound messages
- Events: Customer replies, button clicks, etc.
Step 3: Test Your Endpoints
- Test URL: Verify your endpoint is accessible
- Send Test Event: Trigger a test webhook to verify configuration
- Check Logs: Monitor your endpoint for incoming webhooks
- Verify Response: Ensure your endpoint returns proper HTTP status codes
Webhook Event Types
Message Status Events
Receive updates about message delivery and status changes:
Message Delivered
Message Read
Message Failed
Customer Interaction Events
Receive notifications about customer responses and interactions:
Note: The messageSource
is EXTERNAL
for all non-workflow related events.
SMS Message (Customer Reply)
RCS Message (Button Click)
RCS Message (Text Reply)
Workflow Interaction Events
Receive notifications about customer responses and interactions, for your workflows:
Note: The messageSource
is INTERNAL
for all workflow interaction events.
SMS Matched Text
This is sent when a customer replies to a workflow generated message that contained suggestions, and the response was classified as one of the suggestions.
RCS Button Click
This is sent when a customer clicks a button in a workflow generated message that contained suggestions.
RCS Matched Text
This is sent when a customer replies to a workflow generated message that contained suggestions, and the response was classified as one of the suggestions.
Next Steps
- TypeScript SDK - Send messages and execute workflows
- Workflow Builder - Create workflows that trigger webhook events
- Analytics & Reporting - Use webhook data for analytics
- Troubleshooting - Common webhook issues and solutions