Conversations and Messages
Send Message (Stream)
Parameters
Parameter Name
Required
Type
Description
Request Body
Field
Type
Required
Description
{
"conversation"?: string (uuid) // The unique identifier for the conversation. If empty, a new conversation will be created (optional).
"message": // The message content to be sent.
{
"content": string // The text content of the message.
"contentPayload"?: object // Additional content payload for the message, in JSON format (optional).
"queryMetadata"?: object // Query metadata, in JSON format (optional).
"attachments"?: [ // List of attachments for the message (optional).
{
"id": string (uuid) // The unique identifier for the attachment.
"type": // Attachment type. Possible values: image, video (in development, not yet supported), audio, sticker (in development, not yet supported), other.
* `image` - Image
* `video` - Video
* `audio` - Audio
* `sticker` - Sticker
* `other` - Other
{
}
"filename": string // The filename of the attachment.
"file": string (uri) // The URL address of the attachment file.
}
]
"sender"?: string (uuid) // The Contact ID of the sender (optional).
}
"isStreaming"?: boolean // Whether to respond in streaming mode, defaults to false (optional).
}Code Examples
Response Body
Status Code
Description
Send Message (Create)
Request Body
Field
Type
Required
Description
Code Examples
Response Body
Create a new conversation
Request Body
Field
Type
Required
Description
Code Examples
Response Body
Get Message List
Parameters
Parameter Name
Required
Type
Description
Code Examples
Response Body
Get a specific message
Parameters
Parameter Name
Required
Type
Description
Code Examples
Response Body
Get Conversation List
Parameters
Parameter Name
Required
Type
Description
Code Examples
Response Body
Get a specific conversation
Parameters
Parameter Name
Required
Type
Description
Code Examples
Response Body
Get AI Assistant Conversation Records
Parameters
Parameter Name
Required
Type
Description
Code Examples
Response Body
Export Chat Records as Excel File
Parameters
Parameter Name
Required
Type
Description
Code Examples
Response Body
Status Code
Description
Last updated
Was this helpful?
