channels
sms
inbound-sms

Receive inbound SMS messages

Receive SMS messages from your subscribers and have them delivered to you in real-time. To use this method, you’d need to:<ol><li><a href="https://www.infobip.com/docs/api/platform/numbers/phone-numbers/purchase-number">Buy a number</a> capable of receiving SMS traffic.</li><li>Specify a forwarding endpoint for the number and optionally configure other <a href="https://www.infobip.com/docs/api/platform/numbers/my-numbers/resource-management/manage-inbound-configuration">inbound settings</a>.</li></ol>We will then send inbound messages to you as soon as they are delivered to us by a mobile network operator.<br>The default format or renderer for the inbound SMS messages is documented in this section. It is referred to as MO_JSON_2 when configuring inbound settings via HTTP forward actions, and as inbound-message.sms.v1.json when configuring via Subscriptions. Both names refer to the same payload.

postWebhookreceive-inbound-sms-messages

Payload

messageCountinteger

The number of messages returned in the results array.

pendingMessageCountinteger

The number of messages that have not been pulled in.

Response

Your server returns this code if it accepts the callback.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.