Sinch Push channel message support

When using a Sinch Push channel with the Conversation API, you are able to send and receieve various types of messages.

Sending messages

The following table details which Conversation API generic message formats are supported on the Sinch Push channel:

Message Type Natively Supported? Special Instructions
Text Message Yes, this type of message is natively supported.

The code to send a text message for this channel doesn't differ from the generic message and can be viewed here.

Media Message Yes, this type of message is natively supported for image messages.

The code to send a media message for this channel doesn't differ from the generic message and can be viewed here.

Choice Message Yes, this type of message is natively supported.

The code to send a choice message for this channel doesn't differ from the generic message and can be viewed here.

Card Message Yes, this type of message is natively supported.

The code to send a card message for this channel doesn't differ from the generic message and can be viewed here.

Carousel Message Yes, this type of message is natively supported.

The code to send a carousel message for this channel doesn't differ from the generic message and can be viewed here.

Location Message Yes, this type of message is natively supported.

The code to send a location message for this channel doesn't differ from the generic message and can be viewed here.

Delivery reports

Messages sent on the Sinch Push channel can have one of two statuses: DELIVERED or FAILED. Below is an example of a Conversation API POST to the MESSAGE_DELIVERY webhook with a DELIVERED report; a FAILED report would have a different status and reason.

Copy
Copied
{
    "app_id": "01E3S8B6YCMRNR0GGM94H80ACX",
    "accepted_time": "2022-02-07T20:01:04.598Z",
    "event_time": "2022-02-07T20:01:09.892757478Z",
    "project_id": "c36f3d3d-1513-4edd-ae42-11995557ff61",
    "message_delivery_report": {
        "message_id": "01FVAWD1JP5PPB3KEZCBKGN0ES",
        "conversation_id": "01FNV9VKCVZ6S6FVGKF62QBZ75",
        "status": "DELIVERED",
        "channel_identity": {
            "channel": "SINCH_PUSH",
            "identity": "46702571492",
            "app_id": ""
        },
        "contact_id": "01FNV9VK83AMY60JPNHZ7YE9X6",
        "metadata": "",
        "processing_mode": "CONVERSATION"
    },
    "message_metadata": ""
}
We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.