Skip to main content
POST
/
api
/
v3
/
documents
Upload Documents
curl --request POST \
  --url https://api.nugen.in/api/v3/documents/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'files=<string>' \
  --form 'categories=<string>' \
  --form files.items='@example-file'
[
  "<string>"
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
files
file[]
required

The document files to upload

categories
string[] | null

Categories for the documents

Response

Successful Response