Create message
Inbound messages are automatically threaded in conversations if the channels and senders are configured for using Conversations. To send an outbound message use this method with the following parameters, adding it to an existing conversation. Please note that the response from sending a TEMPLATE content type is a message of the TEXT content type, containing the template content filled with parameters.
Also, HTTP header should contain parameter "x-agent-id" as agent identifier, but only in case conversations are assigned to agents. <a href="https://www.infobip.com/docs/conversations-api/messages" target="_blank">More info</a>
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Path parameters
Id of the conversation to set message for.
Request body
Available communication channels
Sender phone number, email address, FB messenger Id or live chat widget Id.
Destination phone number, email address, FB messenger or live chat user Id.
Message content depending on content type.
Content type
Quoted message ID - available for WhatsApp messages
Response
OK
Message Id
Available communication channels
Sender phone number, email address, FB messenger Id or live chat widget Id.
Destination phone number, email address, FB messenger or live chat user Id.
Message direction
Id of the conversation message belongs to.
Internal unique ID of the customer or agent, determined by the author type.
Indicates if the message was written by the agent, bot, or the system.
Time stamp when message is created.
Time stamp when message is updated.
Message content depending on content type.
Content type
Changes
No recorded changes to this operation across all 1 revision of this API.