CTRLK

Additional resources

Manage event formats

|

View as Markdown

Format selection defines the JSON payload structure of events delivered to your webhook. Each subscription automatically uses a default format for its channel, but you can select a different format if your webhook receiver requires a specific API version or structure.



Prerequisites [#prerequisites]

To manage event formats, you need:

  • Infobip account: An active account.
  • Webhook subscription: At least one subscription configured. See Manage webhook subscriptions.
  • Channel awareness: Knowledge of which channels your subscription monitors (default formats vary by channel).


Format selection overview [#format-selection-overview]

Each subscription automatically receives a default format (event schema), which is channel-specific to ensure consistent processing of events. If the default format does not meet your requirements, you can select a different supported format for available channels.

This allows you to:

  • Control the JSON payload structure delivered to your webhook
  • Use formats that match a specific API version your webhook expects
  • Receive payloads that automatically adapt to the API version you used to send the original message
  • Ensure compatibility with your webhook receiver logic


Default formats by channel [#default-formats]


ChannelDefault formatPayload example
SMSMO_JSON_2SMS API: Receive inbound SMS messages
MMSMO_MMS_2MMS API: Receive inbound MMS messages
WhatsAppMO_OTT_CONTACTWhatsApp API: Receive inbound WhatsApp messages
RCSMO_OTT_MSISDNRCS API: Receive incoming RCS messages
Facebook MessengerMO_OTT_MSISDNMessenger API: Receive incoming Messenger messages
LINEMO_OTT_MSISDN
TikTokMO_OTT_MSISDNTikTok API: Receive TikTok inbound message
Viber Business MessagesMO_OTT_MSISDNViber API: Receive inbound Viber messages
Apple Messages for BusinessMO_OTT_CONTACTAMB API: Receive incoming AMB messages
ZaloMO_OTT_MSISDNZalo API: Receive incoming Zalo messages


Selectable formats [#selectable-formats]

Formats fall into two types:

  • Static formats deliver a fixed payload structure tied to a specific API version (for example, delivery.sms.v3.json). All events use the same schema regardless of how the original message was sent.
  • Adaptive format (adaptive.subscription.format) dynamically matches the payload to the API version the sender used to submit the original message.

Selectable formats are available for the following channels and services:

Messaging channels

Messaging channels

Apple Messages for Business, Facebook Messenger, MMS, SMS, Open Channel

Platform services

Platform services

Mobile Identity services, Blocklist tool events

For other channels, the default format is applied automatically. To change the format for other channels, contact Infobip Support.


SMS format example [#sms-formats]

SMS demonstrates all available format options. Other channels follow similar patterns.

EventFormat namePayload example
Clicktracking.sms.v1.jsonSMS API: Receive SMS tracking notifications
Deliveryadaptive.subscription.formatAdapts based on the API version used in your submission
Deliverydelivery.sms.v2.jsonOmni-failover API: Receive delivery status report
Deliverydelivery.sms.v3.jsonSMS API v2: Receive outbound SMS message report
Deliverydelivery.sms.v4.jsonSMS API v3: Receive outbound SMS message reports
Deliverydelivery.sms.v5.jsonMessages API: Receive delivery reports
Inbound messageinbound-message.sms.v1.jsonSMS API: Receive inbound SMS messages
Inbound messageinbound-message.sms.v2.jsonMessages API: Receive inbound messages

For other channels and platform services, see Available webhook events for the complete list of events.



Select a format [#select-format]

You can select a different format when creating or editing a subscription.


  1. Log in to the Infobip web interface and go to Developer Tools > Subscriptions Management.
  2. Find your subscription in the list.
  3. Open the three-dot menu next to the subscription name and select Edit.
  4. On the Select events screen, choose your preferred format from the list.
  5. Save your subscription to apply the new settings.


When to use each format type [#when-to-use]

Static formats

Use static formats when

Your webhook receiver expects a specific API version structure, you want predictable and unchanging JSON payloads, you are migrating from a specific API version and need backward compatibility, or you want consistency across all events of that type.

Adaptive format

Use adaptive format when

You support multiple API versions in your webhook receiver, you want payloads to match the API version each sender used, you need flexibility as senders update their API versions, or your webhook can handle variable JSON structures.



Related pages

Understanding webhook subscriptions
How subscriptions work and filtering options.

Manage webhook subscriptions
Create and configure subscriptions.

Inbound message routing
Route inbound messages through subscriptions.

Available webhook events
Complete event reference across all channels and services.