Messaging
Send a message in a chat
Changed onSend a message to the given chat with the possibility to link some attachments.
post/api/v1/chats/{chat_id}/messages
Request
- Base URLhttps://api1.unipile.com:13111
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
chat_idstring required
The id of the chat where to send the message.
Request body multipart/form-data
Response
Created. Message sent successfully.
Changes
- warning
added the new
errors/connection_limit_reachedenum value to theresponse property for the response status - warning
added the new
errors/not_supported_by_providerenum value to theresponse property for the response status - warning
added the new
errors/password_reset_requiredenum value to theresponse property for the response status - info
added the new optional request property
- info
added the optional property
to the response with the status
- warning