---
title: "Return a list of company documents."
method: GET
path: "/documents/company"
tags: ["Documents"]
---

# Return a list of company documents.

`GET /documents/company`

This endpoint returns a paginated list of the company documents.

## Query parameters

- `offset` number
- `limit` number

## Headers

- `Authorization` string, required

## Response `200`

OK.

- object
  - `data` object[]
    - `_id` string — The Kenjo _id of the returned company document.
    - `name` string — The name of the company document.
    - `url` string — The URL link to the company document.
    - `tags` object[] — Array that contains the document tags.
      - `_id` string — The id of the tag.
      - `name` string — The name of the tag.
    - `_updatedAt` string — The date of the last update of the company document in format YYYY-MM-DDThh:00:00.
  - `metadata` object
    - `count` number — The number of rows retrieved according the pagination filters (limit + offset).
    - `offset` number — The number of pages to skip. Determines the page number when pagination is being used.
    - `limit` number — The maximum number of rows to retrieve. Determines the size of the page when pagination is being used.
    - `total` number — The total number of rows existing for the provided filters.

## Other responses

- `400` — BAD REQUEST. This is a wrong request in the client side due to invalid body or params.
- `401` — UNAUTHORIZED. The Authorization header is incorrect, not provided or the token expired.

---

[API](https://skmtc.net/kenjo/apis/kenjo-api.md) · [All operations](https://skmtc.net/kenjo/apis/kenjo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kenjo/kenjo-api/revisions/58772b78268e/schema)
