API / Company
Use case / Master data sync
Create Company Document
Changed onUpload a document for a specific company.
post/v1/companies/company/{company_id}/documents
Request
- Base URL: https://api.qargo.com
- URL: https://api.qargo.com/v1/companies/company/{company_id}/documents
- Auth: OAuth 2 (client credentials, token URL /v1/auth/token)
Path parameters
company_idstring uuid required
Request body
Example request
{
"document_type": "SUBCONTRACTOR_CONTRACT",
"name": "subcontractor-contract-2026.pdf",
"upload_id": "f2ef591b-135b-46fa-a604-3d4fda5bfbfb",
"validity": {
"end_time": "2026-12-31T23:59:59Z",
"generate_unavailability": true,
"start_time": "2026-01-01T00:00:00Z",
"type": "SUBCONTRACTOR_CONTRACT"
}
}Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info