v1

latestOpenAPI 3.0.12026-08-0621301.7 MB
Channels

Receives an incoming message

Adds a message to a conversation. To use the endpoint, you need to have Messengers integration OAuth scope enabled and the Messaging manifest ready for the Messaging app extension.

post/channels/messages/receive

Request body

idstring required

The ID of the message

channel_idstring required

The channel ID as in the provider

sender_idstring required

The ID of the provider's user that sent the message

conversation_idstring required

The ID of the conversation

messagestring required

The body of the message

status'sent' | 'delivered' | 'read' | 'failed' required

The status of the message

created_atstring date-time required

The date and time when the message was created in the provider, in UTC. Format: YYYY-MM-DD HH:MM

reply_bystring date-time

The date and time when the message can no longer receive a reply, in UTC. Format: YYYY-MM-DD HH:MM

conversation_linkstring url

A URL that can open the conversation in the provider's side

Response

The message was registered in the conversation

successboolean

If the request was successful or not