---
title: "Get list of candidate's attachments in context of given job."
method: GET
path: "/candidates/{id}/jobs/{jobId}/attachments"
tags: ["candidates"]
---

# Get list of candidate's attachments in context of given job.

`GET /candidates/{id}/jobs/{jobId}/attachments`

## Request

- Base URL: `https://api.smartrecruiters.com`
- URL: `https://api.smartrecruiters.com/candidates/{id}/jobs/{jobId}/attachments`
- Auth: one of:
  - API key in header `x-smarttoken`
  - OAuth 2
    - Authorization code: `https://www.smartrecruiters.com/identity/oauth/allow`
    - Token URL: `https://api.smartrecruiters.com/identity/oauth/token` scopes: `candidates_read`

Get list of candidate's attachments in context of given job.

## Response `200`

Candidate's attachments in context of given job.

- CandidateAttachmentsForJob
  - `totalFound` integer, required
  - `content` CandidateAttachmentForJob[], required
    - `id` string, required
    - `name` string, required
    - `type` string, required
    - `contentType` string, required
    - `actions` object
      - `download` Action, required
        - `url` string, required
        - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'OPTIONS' | 'DELETE' | 'HEAD' | 'CONNECT', required
      - `remove` Action, required
        - `url` string, required
        - `method` 'GET' | 'POST' | 'PUT' | 'PATCH' | 'OPTIONS' | 'DELETE' | 'HEAD' | 'CONNECT', required

## Other responses

- `403`: with code **PERMISSION_DENIED** when you are not permitted to view candidate attachments in context of given job.
- `404`: with code **JOB_NOT_FOUND** when candidate is not assigned to given job.

---

[API](https://skmtc.dev/smartrecruiters/apis/candidates-api.md) - [All operations](https://skmtc.dev/smartrecruiters/apis/candidates-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartrecruiters/apis/candidates-api/revisions/8fde9b33d46d?raw)
