📱 SMS via Twilio
PulseHub sends and receives SMS messages through Twilio, one of the most widely available SMS APIs globally.
Предварительные требования
- A Twilio account — free trial is available at twilio.com
- A Twilio phone number with SMS capability (purchased through the Twilio console)
Шаги настройки
1. Get Your Twilio Credentials
Log in to the Twilio Console and note:
| Credential | Where to Find It |
|---|---|
| Account SID | Console home page, under "Account Info" |
| Auth Token | Console home page, click "Show" next to Auth Token |
| From Number | Phone Numbers → Manage → Active Numbers — copy your Twilio number in E.164 format (e.g. +15551234567) |
2. Add the Channel in PulseHub
- Go to Channels → Add Channel
- Select SMS (Twilio)
- Enter Account SID, Auth Token, and From Number
- Click Save Channel
- Copy the Webhook URL
3. Configure the Webhook in Twilio
- In the Twilio Console, go to Phone Numbers → Manage → Active Numbers
- Click your phone number
- Scroll to Messaging Configuration
- Under "A message comes in", select Webhook and paste your PulseHub webhook URL
- Method: HTTP POST
- Click Save