Responses are generated using AI
and may contain mistakes.
Ask AI
Endpoints

Create Document

Creates a new document in the system
POST/documents

Authorizations

Authorization
string
required
Bearer authentication header of the form Bearer <token>.

Body

application/json
Document to add to the system
id
integer
required
Identification number of the document
name
string
required
The name of the document
tag
string
Tag to specify the type

Responses

200OK

document response

namestring
The name of the document
tagstring
Tag to specify the type
400Bad Request

Unexpected error

errorinteger
messagestring

Was this page helpful?

Automated with