PageGate can easily send messages through Infobip's messaging service by using the Infobip web API. Since the Infobip API can accept messages in JSON or XML format, we'll go over the steps to have PageGate transmit either.
Note: Before configuring PageGate to send SMS through the Infobip web API, you'll definitely want to go through the Infobip steps on how to format your username and password:
https://dev.infobip.com/docs/send-sms
Here's what you'll want to do to have PageGate send the JSON format to Infobip:
1) Open the PageGate Admin.
2) Right click Carriers, left click Add.
3) Name the carrier: Infobip
4) Set the protocol to: HTTPPOST
5) Set the host to: https://api.infobip.com/sms/1/text/single
6) Leave the Port at 80
7) Set the Max Chars value to: 160
8) Click Apply.
9) Go to Carriers - Infobip - Template.
10) In the 'Settings' section at the top, enter the following:
HttpPostType = HeadBody
11) In the 'Text' section, enter the following:
|Authorization|Basic Your Infobip ID And Password In Base64|
|Accept|application/json|
|Content-Type|application/json|
{
"from":"%Sender%",
"to":"%Pin%",
"text":"%Message%"
}
12) Click Apply.
Here's what you'll want to do to have PageGate send the XML format to Infobip:
1) Open the PageGate Admin.
2) Right click Carriers, left click Add.
3) Name the carrier: Infobip
4) Set the protocol to: HTTPPOST
5) Set the host to: https://api.infobip.com/sms/1/text/single
6) Leave the Port at 80
7) Set the Max Chars value to: 160
8) Click Apply.
9) Go to Carriers - Infobip - Template.
10) In the 'Settings' section at the top, enter the following:
HttpPostType = HeadBody
11) In the 'Text' section, enter the following:
|Authorization|Basic Your Infobip ID And Password In Base64|
|Accept|application/xml|
|Content-Type|application/xml|
<request>
<from>%Sender%</from>
<to>
<to>%Pin%</to>
</to>
<text>%Message%</text>
</request>
12) Click Apply.