Sends a new 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).

Body Params
uuid
required

participantId of the participant sending the message.

uuid
required

participantId of the participant receiving the message.

string
enum
Defaults to chat

Type of conversation. Only 'chat' (direct chats) is supported. Defaults to 'chat' if not provided.

Allowed:
string
enum
required
Allowed:
string

Required only if contentType is 'text'

file
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json