This endpoint allows you to send a message as a business, in an existing conversation.
The supported content types when sending messages are :
⚠️ Due to underlying channel limitations, some media content_types are not supported on all channels :
| Channel | Image | Video | Audio | Document |
|---|---|---|---|---|
| ✅ | ✅ | ✅ | ✅ | |
| ✅ | ✅ | ✅ | ❌ | |
| SMS | ❌ | ❌ | ❌ | ❌ |
| ✅ | ✅ | ✅ | ✅ |
When dealing with media messages (Image, Video, Audio, Document), there are some
additionnal file type and file size limitations.
For optimal support, you should target the following file types :
jpeg, png.mp4.aac, mp4.xls, xlsx, docx, pdf, ppt, pptx.A successful HTTP response to this endpoint (code 200) does not necessarily mean that the
message has been correctly delivered to the consumer, only that it has been created on
Partoo.
To ensure that the message has been delivered successfully, we recommend subscribing to the
Message Updated Webhook, and checking that the status field
of the message has switched to Success.
If the answer has failed to be sent, you can send it again by using the /retry endpoint
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.