This endpoint lets you ingest messages in conversations that use custom channels. When called, it creates a new message in the specified conversation. If the conversation does not exist, the endpoint will automatically create the conversation before adding the message.
You must use an API key with ORG_ADMIN or PROVIDER rights for this endpoint.
⚠️ A 200 OK response does not guarantee that the message was successfully created.
It only means the request was received and accepted for processing. ⚠️
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.
The id of the custom channel
Request body to ingest a new message in a conversation
The id of the business.
The unique id of the conversation in your system. Messages with the same external_conversation_id & channel_id will be grouped within the same Partoo Conversation.
The unique id of the message in your system. Messages with the same external_message_id & channel_id will be considered as duplicates and will be ignored.
The message content.
User, Consumer Display name of the consumer. This property is only used at the creation of the conversation.
Profile image URL of the consumer. This property is only used at the creation of the conversation.
OK
success