In the example below you can see how a phonovation SMS channel can be built using a webhook template. This can be used to send SMS messages via phonovation. The url comes from the phonovation API docs :
URL: http://api.interactsms.com/HTTP_API/V1/sendmessage.aspx
The API call is being made to this Messages endpoint used to send SMS messages and it takes POST params. Params include:
- text: The text of the message to be sent
- to: the mobile number of the user this is being pulled in from your users profile via the personalisation syntax {{mobile_number}}
- from: The from header used in the SMS message usually your brand name e.g. "xtremepush"
- user: The user credential from your phonovation SMS account
- password: The password credential from your phonovation SMS account
- api_id: The api_id credential from your phonovation SMS account
Template
Once you have your webhook working we recommend you save it as a template. This will allow you to quickly select it on the webhook channel page in campaign creation:
So you can save your phonovation template with all settings configured except for the message text. When you want to send SMS via phonovation use you webhook template and fill out the message text.
Comments
0 comments
Article is closed for comments.