Skip to main content
POST
Send a message (creates a chat if needed)

Authorizations

Authorization
string
header
required

API key created in the product. Shown once, prefix gxk_live_.

Body

text
string
required

The message to send.

Maximum string length: 8192
file
file

Image or video to send with this message. Repeat the field or use files for more than one. Max 20 MB each, 8 files.

files
file[]
planMode
boolean
chatId
string<uuid>

Existing chat. Omit to create one.

Response

Turn queued

chatId
string<uuid>
required
messageId
string<uuid>
required
runId
string<uuid>
required
triggerRunId
string | null
required
status
enum<string>
required
Available options:
queued