POST JSON Push MO
Description
Receive SMS message from customer
Functionality
MO SMS (Mobile originated SMS) from customer are automatically sent to Callback URL as JSON object using HTTP/S POST.
New request is created for each MO message. Multipart SMS are concatenated into one long message.
HMAC SHA1 key assigned by Viamobile (different from password for sending SMS).
New request is created for each MO message. Multipart SMS are concatenated into one long message.
HMAC SHA1 key assigned by Viamobile (different from password for sending SMS).
1. MO message
Request
Parameter | Type | Description | |
---|---|---|---|
id |
Required | Int64 | Unique ID of received message |
msisdn |
Required | String(32) | Message sender |
address |
Required | String(32) | Message address |
gtw |
Required | Int32 | Operator code |
message |
Required | String | Text of message. UTF8 encoded. |
hash |
Required | String | HMAC SHA1 hash created from concatenated parameters (id + msisdn + address + gtw + message) |
{
"id": 123,
"msisdn": "+421903123456",
"address": "+",
"gtw": 23102,
"message": "Test message",
"hash": "daca8d139dd196282c92bdd78303f9953052c0de"
}
Response
HTTP/1.1 200 OK
OK