---
title: "Get all documents for a company"
method: GET
path: "/api-regulated/v1/introducing-brokers/{introducingBrokerId}/companies/{companyId}/documents"
tags: ["Company"]
---

# Get all documents for a company

`GET /api-regulated/v1/introducing-brokers/{introducingBrokerId}/companies/{companyId}/documents`

## Request

- Base URL: `https://api.currencyguard.com`
- URL: `https://api.currencyguard.com/api-regulated/v1/introducing-brokers/{introducingBrokerId}/companies/{companyId}/documents`
- Auth: HTTP bearer

Returns a list of all documents belonging to the specified company within the authenticated regulated user's regulated entity.

## Path parameters

- `introducingBrokerId` string, uuid, required
- `companyId` string, uuid, required

## Response `200`

Documents retrieved successfully

- DocumentDTO[]
  - `id` string, uuid: The document's stable identifier
  - `documentType` string: The type of document being stored
  - `entityId` string, uuid: The entity this document belongs to
  - `contentType` string: MIME type of the stored file
  - `fileSize` integer: Size of the file in bytes
  - `updatedAt` string: When this revision was written, ISO-8601
  - `piiData` PiiData: Document metadata (filename, tags). Encrypted at rest, decrypted at the edge.
    - `status` string
    - `value` PiiDataValue

## Other responses

- `401`: Not authenticated — [`security/authentication-failed`](/problems/security/authentication-failed/)
- `403`: Not authorized — [`security/insufficient-permissions`](/problems/security/insufficient-permissions/)
- `404`: Company not found — [`http/resource-not-found`](/problems/http/resource-not-found/)
- `500`: Internal server error — [`server/internal-error`](/problems/server/internal-error/)

---

[API](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external.md) · [All operations](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/llms.txt) · [OpenAPI document](https://skmtc.dev/currencyguard/apis/currencyguard-trading-system-api-external/revisions/a1f3f854190d?raw)
