Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
file
file
required

PDF file to upload.

title
string

Optional. Defaults to the uploaded file name.

type
enum<string>

Optional document type.

Available options:
TOLL,
VIOLATION,
UNKNOWN

Response

Document created.

title
string
file
string

Storage path of the uploaded file.

user
integer
type
enum<string>
Available options:
TOLL,
VIOLATION,
UNKNOWN