Skip to main content
POST
Upload a file

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file
required
files
file[]
chatId
string<uuid>

Response

Files stored

attachments
object[]
required
chatId
string<uuid> | null

Set only when you passed chatId. Upload does not create a chat.