Skip to main content
POST
Reply to a conversation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversationId
string
required

Unique identifier of the conversation to reply to

Example:

"chat_1234567890"

Body

application/json

Agent reply details

message
string
required

Reply message content to send

Example:

"Thank you for your question. I'll help you with that right away."

userId
string
required

ID of the user sending the reply

Example:

"user_1234567890"

messageType
enum<string>
default:TEXT

Type of message being sent. Resolved automatically when attachments are provided.

Available options:
TEXT,
IMAGE,
FILE
Example:

"TEXT"

attachments
object[]

Optional file attachments. Upload each file to S3 first via the attachments presign endpoint, then reference the returned metadata here.

Response

User reply sent successfully

status
string
Example:

"success"

message
string
Example:

"User reply sent successfully"

data
object