Skip to main content
POST
/
chat
/
files
/
upload
Confirm Upload
curl --request POST \
  --url https://ds.cominty.com/chat/files/upload \
  --header 'Content-Type: application/json' \
  --header 'x-cominty-token: <api-key>' \
  --data '
{
  "etag": "<string>",
  "key": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "size": 123,
  "mimetype": "<string>",
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cominty.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-cominty-token
string
header
required

Your Cominty API token.

Body

application/json
etag
string
required
key
string
required

Response

Successful Response

id
string
required
name
string
required
size
integer
required
mimetype
string
required
origin
enum<string>
required
Available options:
user,
agent
url
string
required
read-only