---
title: "Get Auto Enrolment documents 🇬🇧"
method: GET
path: "/companies/{companyId}/auto-enrolment-documents"
tags: ["Company"]
---

# Get Auto Enrolment documents 🇬🇧

`GET /companies/{companyId}/auto-enrolment-documents`

Returns the all documents related to auto enrolment. This endpoint should only be used for UK companies.

\
**Required scopes**: *pension:read*

## Path parameters

- `companyId` string, required

## Response `200`

The Auto Enrolment documents

- object
  - `documents` object[]
    - `documentId` string, required — The id of the document
    - `createdAt` string, date-time, required — Date when the file has been created.
    - `contractId` string, required — The contractId linked to the document
    - `year` string, required — Legal year of the document
    - `month` string, required — Legal month of the document
    - `documentUrl` string, required — The Payfit api URL to download the document

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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