Setup SMS with Twilio Integration

Setup SMS with Twilio Integration

 · 1 min read

Installation


bench get-app https://github.com/frappe/twilio-integration.git


1. Open Twilio Settings and set Twilio Credentials.

Configure Account SID and Auth Token in Twilio Settings



2. Open SMS Settings and Configure the SMS Gateway

  1. SMS Gateway URL : https://api.twilio.com/2010-04-01/Accounts/{{Account SID}}/Messages.json
  2. Message Parameter : Body
  3. Receiver Parameter : To
  4. Static Parameters :
  5. Parameter : Authorization, Value : Basic {authkey}, Header:1
  6. Parameter : From, Value : {Twilio Number}, Header:0
  7. Use POST : 1


3. Generating authkey for Static Parameters

  1. Open https://www.base64encode.org,
  2. Paste {AccountSID}:{Auth Token}
  3. It will return the base64 value for key:value


4. Go to SMS Center and Test SMS


No comments yet.

Add a comment
Ctrl+Enter to add comment