Skip to main content
POST
/
v1
/
document-analyzer
/
upload
Upload document
curl --request POST \
  --url http://co-mind-platform-host/v1/document-analyzer/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{}

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Body

multipart/form-data
file
file
required

The document file to upload

Response

Document uploaded

The response is of type object.