How to send SMS messages with Twilio
Setup guide for SMS notifications with Twilio and Knock.
Knock integrates with Twilio to send SMS notifications to your recipients.
Features#
- Delivery tracking
- Bounce Support
- Knock link tracking
- Per environment configuration
- Sandbox mode
Getting started#
You can create a new Twilio channel in the dashboard under the Channels and sources page in your account settings. From there, you'll need to take some steps in Twilio before you can configure your Twilio channel within Knock.
Channel configuration#
The following channel settings should be configured per environment. Navigate to Channels and sources in your dashboard account settings, select your Twilio channel, then click "Manage configuration" under the environment that you'd like to configure.
Recipient data requirements#
In order to send an SMS notification you'll need a valid phone_number
property set on your recipient.
Delivery tracking#
Delivery tracking for Twilio can result in the following status updates to your message:
- The message delivery is confirmed and Knock updates the message to
delivered
- The message was not delivered due to bad recipient(s) and Knock updates the message to
bounced
- The message was not delivered due to an error reported by Twilio and Knock updates the message to
undelivered