---
title: "🔒 Скачивание ZIP-архива с юридическими документами организации."
method: GET
path: "/company/archive-file"
tags: ["Company"]
---

# 🔒 Скачивание ZIP-архива с юридическими документами организации.

`GET /company/archive-file`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/company/archive-file`
- Auth: one of:
  - API key in header `sid` and API key in header `rts` and API key in header `sig`
  - HTTP bearer

Скачивание ZIP-архива с юридическими документами организации.

**Access:** `authorized` (10 ) · **Scope:** `read`

**Allows:** `company:organizations` (все обязательны; без ресурса)

### TypeScript (copy-paste)

**`GET /company/archive-file`**

<details open><summary><b>Params</b></summary>

```typescript
export interface CompanyArchiveFileParams {
  ID: string
  orgID?: string | null
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type CompanyArchiveFileResponse = IServerResponse<Resp_company_archive-file>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Query parameters

- `ID` string, uuid, required
- `orgID` string, uuid, nullable

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Response `200`

OK — `IServerResponse<Resp_company_archive-file>`

- object
  - `code` integer, required
  - `data` RespCompanyArchiveFile, required: Empty response object
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest / Validation — неверные params/body/headers
- `401`: Unauthorized: Active user session required
- `403`: AccessNotAllowed: Privilege company:organizations required
- `404`: NotFound: Specified company or organization ID does not exist
- `406`: TimeResync — расхождение rts с сервером

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
