Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

The API key to authenticate requests.

Body

application/json
threadId
string
required
filename
string
required
Minimum string length: 1
mediaType
string
required
Minimum string length: 1
data
string
required
Required string length: 1 - 34952536

Response

OK

id
string
required
threadId
string
required
messageId
string | null
required
filename
string
required
mediaType
string
required
size
number
required
createdAt
string<date-time>
required
storagePath
string