Skip to main content
POST
Contract Upload Api

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

The contract PDF file to upload

customer_uuid
string<uuid>

Optional UUID of the customer for this contract

Response

Contract uploaded successfully

Response schema for contract upload.

Attributes: process_status_uuid (UUID): The UUID of the contract processing status. message (str): A message indicating the status of the upload.

process_status_uuid
string<uuid>
required

The UUID of the contract processing status. Use this to track the contract parsing progress.

Example:

"123e4567-e89b-12d3-a456-426614174000"

message
string
required

A message indicating the status of the upload.

Example:

"Contract uploaded successfully and is being processed"