Send Silent OBS Billing Message Example
This document will go over how to send silent OBS Billing Message via HTTP (MT).
GET /srs/api/sendsms
GET /srs/api/sendsmscurl -XGET -H "Content-type: application/json" 'https://hostname/srs/api/sendsms?USER_NAME=<account_id>&PASSWORD=<api_key>&ORIGINATOR=<SHORT CODE>&RECIPIENT=<MSISDN>&PR OVIDER=<Network Provider>&VALUE=<Amount>&KEYWORD=<Keyword>&MESSAGE_TEXT=SILENT%20BILLING%20MESSAGE'import requests
headers = {
'Content-type': 'application/json',
}
response = requests.get(
'https://hostname/srs/api/sendsms?USER_NAME=<account_id>&PASSWORD=<api_key>&ORIGINATOR=<SHORT CODE>&RECIPIENT=<MSISDN>&PR OVIDER=<Network Provider>&VALUE=<Amount>&KEYWORD=<Keyword>&MESSAGE_TEXT=SILENT%20BILLING%20MESSAGE',
headers=headers,
)Name
Value
Parameter
Type
Example
Description
{
"MT-aabbccddeeff00112233445566778899"
}{
"error": "Username or Password incorrect"
}Last updated