Skip to main content

๐Ÿ“ฑ SMS via Twilio

PulseHub sends and receives SMS messages through Twilio, one of the most widely available SMS APIs globally.


Prerequisitesโ€‹

  1. A Twilio account โ€” free trial is available at twilio.com
  2. A Twilio phone number with SMS capability (purchased through the Twilio console)

Setup Stepsโ€‹

1. Get Your Twilio Credentialsโ€‹

Log in to the Twilio Console and note:

CredentialWhere to Find It
Account SIDConsole home page, under "Account Info"
Auth TokenConsole home page, click "Show" next to Auth Token
From NumberPhone Numbers โ†’ Manage โ†’ Active Numbers โ€” copy your Twilio number in E.164 format (e.g. +15551234567)

2. Add the Channel in PulseHubโ€‹

  1. Go to Channels โ†’ Add Channel
  2. Select SMS (Twilio)
  3. Enter Account SID, Auth Token, and From Number
  4. Click Save Channel
  5. Copy the Webhook URL

3. Configure the Webhook in Twilioโ€‹

  1. In the Twilio Console, go to Phone Numbers โ†’ Manage โ†’ Active Numbers
  2. Click your phone number
  3. Scroll to Messaging Configuration
  4. Under "A message comes in", select Webhook and paste your PulseHub webhook URL
  5. Method: HTTP POST
  6. Click Save

4. Testโ€‹

Send an SMS to your Twilio number. It should appear as a new conversation in PulseHub within seconds.


Twilio Free Trial Limitationsโ€‹

On a free trial account:

  • You can only send SMS to verified phone numbers
  • Your sent messages will have a Twilio promotional prefix
  • There is a limited credit balance

Upgrade to a paid Twilio account to send to any number without restrictions.


Common Issuesโ€‹

SymptomLikely Cause
No inbound messages in PulseHubWebhook URL not set in Twilio console, or wrong URL
"Unverified number" error when sendingFree trial โ€” verify recipient number or upgrade
Duplicate messagesMessageSid deduplication should prevent this; check messages.external_id