Skip to content
Paybob

SMS

Inline SMS

Forward an SMS, such as a mobile wallet payment notice, to your Paybob install.

POST{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

  • senderstringrequired

    Who the SMS came from, e.g. bkash.

  • messagestringrequired

    The complete SMS text, exactly as received.

Response fields

  • statusboolean

    true when the SMS was saved.

  • messagestring

    A readable result, e.g. SMS synced successfully.

  • dataobject

    The saved SMS.

    2 child fields
    • idinteger

      ID of the SMS record in your install.

    • statusstring

      The 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.