SMS gateway settings
Introduction
On the Messaging page, you can find the SMS gateway settings categorized by the SMS type. From this list, you have the flexibility to add, edit, and delete SMS gateway configurations. Please note that only the SMS gateway set as default will be utilized for messaging.
There are two types of SMS gateway options available: Unwire and HTTPRequest.
Let’s take a look at the configuration options for these SMS gateways:
SMS gateway configuration
Unwire settings
- Display name: Provide a friendly name to be shown in the gateway list.
- Host: Enter the URL or IP address of the Unwire SMS gateway, e.g.,
http://yoursmsgateway.com
orhttp://192.219.0.1
. - Default: Only one SMS gateway can be set as default, and it will be used for all SMS messages. Once you select a gateway as default, others will no longer be used. If you deselect this option for the current default gateway, make sure to select another SMS gateway as default to ensure proper message delivery.
- Username: Enter your specific Unwire username.
- Password: Enter your specific Unwire password.
- Sender Display Name: Set the name of the sender for your messages, such as your company name or a specific person.
- SMS body: Select the desired SMS template to be used for messaging users.
HTTPRequest settings
- Display name: Specify a friendly name to be shown in the gateway list.
- Request URL: Enter the URL or IP address of the HTTPRequest SMS gateway, e.g.,
http://yoursmsgateway.com
orhttp://192.219.0.1
- Default: Similar to Unwire, only one SMS gateway can be set as default for all SMS messages.
- Check Response: Enable this option to log failed requests and receive alerts in case of errors.
- Response status code must be: Set the response code to verify successful message delivery.
- Response text must contain: Set the response text to confirm successful message delivery.
- SMS body: Choose the SMS template for sending messages to your users.
- HTTP Method: Select either GET or POST as the HTTP method.
- Parameter: Enter the name of the parameter required in the request to the SMS gateway.
- Value: Provide the value of the parameter for the SMS gateway request.
- Sensitive: Indicate if the parameter contains sensitive information, and it will be treated like a password to ensure it is not logged.
- Is a header parameter?: Choose Yes or No to utilize the parameter as a header for the SMS gateway request.
Example of using Authorization Headers Parameter
For scenarios requiring authorization headers parameter usage, follow these steps:
Create or update a Parameter and set Is a header parameter? to Yes.
Click on Test button then enter your phone number.
Result: Observe that the "Content" parameter is not included in the Request URL.