SMS
Inline SMS
Forward an SMS, such as a mobile wallet payment notice, to your Paybob install.
{inline_sms_url}Sends one SMS to your Paybob install exactly as your phone received it, together with who sent it. Use it from an SMS forwarding app or your own integration, once for every message.
Send the full, unmodified message text: don't trim, shorten, translate or reformat it. Your install only accepts messages that match one of its configured SMS filters; anything else is rejected with SMS_FORMAT_NOT_MATCHED.
URL and authentication
This endpoint has its own URL. Copy the full Inline SMS URL from SMS Data → Inline API in your Paybob admin panel and send the request there.
No API key is needed: the secret token at the end of the URL identifies your install. Treat the URL like a password and don't share or publish it.
Body parameters
senderstringrequiredWho the SMS came from, e.g.
bkash.messagestringrequiredThe complete SMS text, exactly as received.
Response fields
statusbooleantruewhen the SMS was saved.messagestringA readable result, e.g.
SMS synced successfully.dataobjectThe saved SMS.
2 child fields
idintegerID of the SMS record in your install.
statusstringThe SMS record's status, e.g.
approved.
Responses
SuccessThe SMS matched a filter and was saved.SMS_FORMAT_NOT_MATCHEDThe message didn't match any SMS filter configured in your install.INVALID_INLINE_SMS_TOKENThe token in the URL is wrong. Copy the URL again from SMS Data → Inline API.