---
title: "GET /api/attachment-templates/{id}/documents"
method: GET
path: "/api/attachment-templates/{id}/documents"
tags: ["Attachment Templates"]
---

# GET /api/attachment-templates/{id}/documents

`GET /api/attachment-templates/{id}/documents`

## Path parameters

- `id` string, required

## Query parameters

- `countryCode` string
- `facilityProcess` string
- `isOrigin` union
  - string
  - boolean
- `supplierId` string
- `salesOrderId` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required — True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `companyId` string, required
    - `isGlobal` boolean, required
    - `isArchived` boolean, required
    - `isActive` boolean, required
    - `isPreference` boolean, required
    - `tracingType` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `rules` object[], required
      - `facilityProcessId` string, required
      - `documentType` string, required
      - `title` string, nullable, required
      - `documentClass` 'TRANSACTIONAL' | 'COMPANY' | 'PRODUCT', nullable, required
      - `isAppliedToAllCountries` boolean, required
      - `isMandatory` boolean, required
      - `countryCodes` string[], required
      - `syncedDocument` object, nullable
        - `documents` object[], required
          - `id` string, required
          - `fileId` string, required
          - `name` string, required
        - `otherVersionsAvailable` integer, required

## Other responses

- `401` — Default Response
- `404` — Default Response

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-08-31** `97e51f27dc77` — 5 breaking, 3 warning, 6 info
  - the response property `data/description` became nullable for the status `200`
  - the response property `data/rules/items/documentClass` became nullable for the status `200`
  - the response property `data/rules/items/syncedDocument` became nullable for the status `200`
  - the response property `data/rules/items/title` became nullable for the status `200`
  - …10 more

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/attachment-templates/:id/documents/get.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/97e51f27dc77/schema)
