---
title: "Get Company Validity Documents"
method: GET
path: "/v1/companies/company/{company_id}/validity/{id}/documents"
tags: ["API / Company", "Use case / Master data sync"]
---

# Get Company Validity Documents

`GET /v1/companies/company/{company_id}/validity/{id}/documents`

## Request

- Base URL: `https://api.qargo.com`
- URL: `https://api.qargo.com/v1/companies/company/{company_id}/validity/{id}/documents`
- Auth: OAuth 2 (client credentials, token URL `/v1/auth/token`)

Fetch all documents associated with a specific company validity.

## Path parameters

- `company_id` string, uuid, required
- `id` string, uuid, required

## Response `200`

Successful Response

- Document[]
  - `id` string, uuid, required: Unique identifier of the document
  - `name` string, required: Name of the document
  - `type` string, required: Type of the document
  - `download_url` string: Relative URL from the base URL to download the document
  - `subject_type` string, required: Linked subject of the document
  - `content_type` string, nullable: Content type of the document

## Other responses

- `400`: Bad Request — invalid input or malformed request
- `401`: Unauthorized — missing or invalid authentication credentials
- `403`: Forbidden — insufficient permissions for this operation
- `422`: Validation Error
- `429`: Too Many Requests — rate limit exceeded. See the `Retry-After` header
- `500`: Internal Server Error
- `503`: Service Unavailable — temporarily unable to handle the request

## Changes

- **2026-09-25** `6abdfcd1a541`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/qargo/apis/qargo-tms-api/changes/v1/companies/company/:company_id/validity/:id/documents/get.md)

---

[API](https://skmtc.dev/qargo/apis/qargo-tms-api.md) · [All operations](https://skmtc.dev/qargo/apis/qargo-tms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qargo/apis/qargo-tms-api/revisions/46db2c329351?raw)
