إنتقل إلى المحتوى الرئيسي

📱 SMS via Twilio

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


المتطلبات الأساسية

  1. A Twilio account — free trial is available at twilio.com
  2. 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:

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

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.


المشاكل الشائعة

العرضالسبب المحتمل
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