---
title: "List attachment types"
method: GET
path: "/attachments/types"
tags: ["Attachments"]
---

# List attachment types

`GET /attachments/types`

Returns the attachment types that can be assigned to attachments: the available predefined types (`UNASSIGNED`, `CV`) and all of the tenant-defined custom attachment types. Each type lists the `recordTypes` it may be assigned to — `CANDIDATE` maps to `candidateId`, `CLIENT` to `companyId`, and `VACANCY` to `vacancyId`.

## Response `200`

The available predefined and custom attachment types.

- AttachmentTypesDto
  - `types` AttachmentTypeDto[], required — All attachment types available to assign — predefined types (`{ name }`) and custom, tenant-defined types (`{ id, name }`).
    - union
      - object
        - `id` string, required
        - `name` string, required
        - `recordTypes` string[], required — The record types this attachment type may be assigned to. CANDIDATE maps to `candidateId`, CLIENT to `companyId`, VACANCY to `vacancyId`.
      - object
        - `name` 'UNASSIGNED' | 'CV', required
        - `recordTypes` string[], required — The record types this attachment type may be assigned to. CANDIDATE maps to `candidateId`, CLIENT to `companyId`, VACANCY to `vacancyId`.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - invalid or missing authentication
- `500` — Error response

---

[API](https://skmtc.net/spott/apis/spott-webhooks.md) · [All operations](https://skmtc.net/spott/apis/spott-webhooks/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spott/spott-webhooks/versions/ad1f8c51cf0a/schema)
