Qargo API / Document API
The API / Document API from Qargo — 2 operation(s) for api / document.
The API / Document API from Qargo — 2 operation(s) for api / document.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/qargo-api-document-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Qargo TMS API / Document API
description: For support, please contact integrations@qargo.com.
version: 1.2.0
servers:
- url: https://api.qargo.com
tags:
- name: API / Document
description: ''
paths:
/v1/documents/document/{id}/download:
get:
tags:
- API / Document
summary: Download Document
description: Download a document by its ID. You can choose to download the document directly or stream it.
operationId: download_document_v1_documents_document__id__download_get
security:
- oAuth2ClientCredentials: []
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
title: Id
- name: direct
in: query
required: false
schema:
type: boolean
description: Query parameter to indicate that the response should contain all the document bytes
default: false
title: Direct
description: Query parameter to indicate that the response should contain all the document bytes
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'400':
description: Bad Request — invalid input or malformed request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorResponse'
'401':
description: Unauthorized — missing or invalid authentication credentials
'403':
description: Forbidden — insufficient permissions for this operation
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
description: Too Many Requests — rate limit exceeded. See the `Retry-After` header
'500':
description: Internal Server Error
'503':
description: Service Unavailable — temporarily unable to handle the request
/v1/documents/document/upload_content:
post:
tags:
- API / Document
summary: Upload Document Content
description: Upload document content.
operationId: Upload_document_content_v1_documents_document_upload_content_post
security:
- oAuth2ClientCredentials: []
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_Upload_document_content_v1_documents_document_upload_content_post'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DocumentUploadResponse'
'400':
description: Bad Request — invalid input or malformed request
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationErrorResponse'
'401':
description: Unauthorized — missing or invalid authentication credentials
'403':
description: Forbidden — insufficient permissions for this operation
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'429':
description: Too Many Requests — rate limit exceeded. See the `Retry-After` header
'500':
description: Internal Server Error
'503':
description: Service Unavailable — temporarily unable to handle the request
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationErrorDetail:
properties:
message:
description: Human-readable summary of this validation failure
title: Message
type: string
field:
anyOf:
- type: string
- type: 'null'
default: null
description: Name of the field that failed validation, if known
title: Field
path:
anyOf:
- type: string
- type: 'null'
default: null
description: JSON path to the field within the request payload (e.g. '$.consignor.address.country')
title: Path
detail:
anyOf:
- type: string
- type: object
- type: 'null'
default: null
description: Additional structured context about the failure, if provided by the backend
title: Detail
required:
- message
title: ValidationErrorDetail
type: object
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
Body_Upload_document_content_v1_documents_document_upload_content_post:
properties:
file:
type: string
format: binary
title: File
type: object
required:
- file
title: Body_Upload_document_content_v1_documents_document_upload_content_post
DocumentUploadResponse:
properties:
upload_id:
type: string
format: uuid
title: Upload Id
description: Unique identifier for the uploaded document
type: object
required:
- upload_id
title: DocumentUploadResponse
ValidationErrorResponse:
properties:
message:
description: Human-readable summary of the validation failure
title: Message
type: string
errors:
description: One entry per validation failure. Always present and non-empty — a single failure yields a one-item array, so integrators can handle one and many the same way.
items:
$ref: '#/components/schemas/ValidationErrorDetail'
minItems: 1
title: Errors
type: array
required:
- message
- errors
title: ValidationErrorResponse
type: object
securitySchemes:
oAuth2ClientCredentials:
type: oauth2
flows:
clientCredentials:
scopes: {}
tokenUrl: /v1/auth/token
BasicAuthWebhookCredentials:
type: http
scheme: basic
x-tagGroups:
- name: Use cases
tags:
- Use case / Accounting
- Use case / Customer portal
- Use case / Document import
- Use case / E-invoicing
- Use case / Fleet dispatch
- Use case / Intermodal [partner]
- Use case / Location booking
- Use case / Master data sync
- Use case / Order
- Use case / Subcontractor dispatch
- Use case / Tracking
- Use case / Trip import
- Use case / Visibility
- name: API
tags:
- API / Accounting
- API / Authentication
- API / Company
- API / Document
- API / Order
- API / Resource
- API / Task
- API / Trip
- name: System
tags:
- System
- name: Webhooks
tags:
- Webhooks / Inbound
- Webhooks / Outbound
- name: ''
tags: []