Skip to main content
POST
/
api
/
spaces
/
{spaceId}
/
thread-files
/
upload
cURL
curl --request POST \
  --url https://api.kazzle.app/api/spaces/{spaceId}/thread-files/upload \
  --header 'Authorization: Bearer <token>'
{
  "path": "<string>",
  "mimeType": "<string>",
  "fileName": "<string>"
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required

Response

200 - application/json

Uploaded file metadata

path
string
required
mimeType
string
required
fileName
string
required