Add message to conversation

Add a new message to a conversation. This endpoint adds a new message to an existing conversation.

Path parameters

idstringRequired
The unique identifier of the conversation

Headers

AuthorizationstringRequired

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

X-API-KeystringRequired

Request

This endpoint expects an object.
contentstringRequired
The content of the message to add
rolestringRequired
The role of the message to add
parent_idstringOptionalformat: "uuid"
The ID of the parent message, if any
metadatamap from strings to optional stringsOptional
Additional metadata for the message

Response

Successful Response
resultsobject

Errors