Skip to main content
POST
Create file

Authorizations

Authorization
string
header
required

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

Body

application/json
file_name
string
required
content
string<byte>
required
document_type
enum<string>
required
Available options:
tariffs,
invoice,
contract,
other
approval_needed
number<float>
approval_made
number<float>
signature_needed
number<float>
signature_made
number<float>
active
boolean
metadata
object

Response

File created successfully

id
string<uuid>
file_name
string
document_type
string
approval_status
enum<string>
Available options:
pending,
approved,
attached
approval_needed
number<float>
approval_made
number<float>
signature_status
enum<string>
Available options:
pending,
signed,
not_required
signature_needed
number<float>
signature_made
number<float>
content_length
integer<int64>
file_extension
string
active
boolean
metadata
object
created_at
string<date-time>
created_by
string<uuid>