post
https://messaging.api.eu1.scalar.zf.com/v1/actions/send-message
Sends a message to a user using multipart/form-data. Required fields vary depending on contentType. For example:
content(string) is required only if contentType is 'text'.file(binary) is expected if contentType is 'image' or 'file'.
Supported for direct chat conversations (conversationType=chat).
File size limits:
- contentType
image: maximum 2 MB per file. Exceeding this limit returns a400 Bad Requestwith error typefileTooLarge. - contentType
file: maximum 5 MB per file. Exceeding this limit returns a413 Request Entity Too Large.