POST
/
documents
/
Upload document(s)
curl --request POST \
  --url http:localhost:3000/v2/documents/ \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-API-Key: <api-key>' \
  --form 'name=<string>' \
  --form 'objectId=<string>' \
  --form 'userId=<string>' \
  --form 'jobId=<string>' \
  --form 'customerId=<string>' \
  --form file=@example-file
{
  "_id": "<string>",
  "ids": [
    "<string>"
  ]
}

Authorizations

x-API-Key
string
header
required

Body

multipart/form-data

Document file(s) and optional metadata

The body is of type object.

Response

201
application/json

Document(s) uploaded successfully

The response is of type object.