> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get candidate attachments

> Get attachments from a candidate, including all attachments of all of their applications.

<Accordion title="Supported integrations" icon="list-check">
  This feature is currently available for the following integrations:

  <ul>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/workday/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/workday">Workday</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/smartrecruiters/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/smartrecruiters">SmartRecruiters</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/oraclerecruiting/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/oraclerecruiting">Oracle Recruiting Cloud</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/lever/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/lever">Lever</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/icims/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/icims">iCIMS</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/cornerstonetalentlink/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/cornerstonetalentlink">Cornerstone TalentLink</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/greenhouse/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/greenhouse">Greenhouse (V1)</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/greenhousev3/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/greenhousev3">Greenhouse (V3)</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/teamtailor/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/teamtailor">Teamtailor</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/ashby/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/ashby">Ashby</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/talentsoftcustomer/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/talentsoftcustomer">CEGID TalentSoft Customer</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/ukgpro/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/ukgpro">UKG Pro</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/ukgready/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/ukgready">UKG Ready</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/taleo/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/taleo">Oracle Taleo</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/bamboohr/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/bamboohr">BambooHR</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/bullhorn4salesforce/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/bullhorn4salesforce">Bullhorn for Salesforce</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/bullhorn/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/bullhorn">Bullhorn</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/workable/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/workable">Workable</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/jobvite/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/jobvite">Jobvite</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/pinpoint/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/pinpoint">Pinpoint</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/join/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/join">JOIN</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/zohorecruit/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/zohorecruit">Zoho Recruit</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/ceipal/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/ceipal">Ceipal</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/eploy/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/eploy">Eploy</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/jobdiva/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/jobdiva">JobDiva</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/eightfold/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/eightfold">Eightfold</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/jobadder/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/jobadder">JobAdder</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/odoo/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/odoo">Odoo</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/compleetpersy/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/compleetpersy">Compleet (Persy API)</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/gem/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/gem">Gem</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/covetorest/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/covetorest">Coveto (REST API)</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/mercury/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/mercury">Mercury</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/crelate/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/crelate">Crelate</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/manatal/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/manatal">Manatal</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/avionte/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/avionte">Avionté</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/asymbl/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/asymbl">Asymbl</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/flatchr/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/flatchr">Flatchr</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/applicantstack/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/applicantstack">ApplicantStack</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/sandbox/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/sandbox">Kombo Sandbox</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/loxo/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/loxo">Loxo</a></li>
    <li class="flex items-center"><img src="https://storage.googleapis.com/kombo-assets/integrations/kula/icon.svg" height="16px" width="16px" class="m-0 mr-2" /><a href="/ats/connectors/kula">Kula</a></li>
  </ul>

  You'd like to see this feature for another integration? Please reach out!
  We're always happy to discuss extending our coverage.
</Accordion>

<Note>
  This endpoint requires the permission **Read document attachments** to be enabled in [your scope config](/scopes).
</Note>


## OpenAPI

````yaml GET /ats/candidates/{candidate_id}/attachments
openapi: 3.1.0
info:
  title: Kombo API
  version: 1.0.0
servers:
  - url: https://api.kombo.dev/v1
    description: Kombo EU API
  - url: https://api.us.kombo.dev/v1
    description: Kombo US API
security:
  - ApiKey: []
tags:
  - name: General
  - name: Kombo Connect
    description: >-
      Endpoints for Kombo Connect, our end-user-facing flow for setting up new
      integrations.
  - name: Unified HRIS API
    description: Unified endpoints to access all the HR concepts you might need.
  - name: Unified ATS API
    description: Unified endpoints to access all the ATS concepts you might need.
  - name: Unified ATS (Assessment & Background Check) API
    description: >-
      Unified endpoints to operate Assessments and Background Checks for many
      applicant tracking systems.
  - name: Unified LMS API
    description: Unified endpoints to access all the LMS concepts you might need.
  - name: AI Apply
    description: Endpoints for AI-powered job application features.
  - name: Custom Endpoints
    description: Custom integration-specific endpoints.
paths:
  /ats/candidates/{candidate_id}/attachments:
    get:
      tags:
        - Unified ATS API
      summary: Get candidate attachments
      description: >-
        Get attachments from a candidate, including all attachments of all of
        their applications.


        <Accordion title="Supported integrations" icon="list-check">

        This feature is currently available for the following integrations:


        <ul>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/workday/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/workday">Workday</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/smartrecruiters/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/smartrecruiters">SmartRecruiters</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/oraclerecruiting/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/oraclerecruiting">Oracle Recruiting
        Cloud</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/lever/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/lever">Lever</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/icims/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/icims">iCIMS</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/cornerstonetalentlink/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/cornerstonetalentlink">Cornerstone
        TalentLink</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/greenhouse/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/greenhouse">Greenhouse (V1)</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/greenhousev3/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/greenhousev3">Greenhouse (V3)</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/teamtailor/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/teamtailor">Teamtailor</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/ashby/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/ashby">Ashby</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/talentsoftcustomer/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/talentsoftcustomer">CEGID TalentSoft
        Customer</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/ukgpro/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/ukgpro">UKG Pro</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/ukgready/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/ukgready">UKG Ready</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/taleo/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/taleo">Oracle Taleo</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/bamboohr/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/bamboohr">BambooHR</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/bullhorn4salesforce/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/bullhorn4salesforce">Bullhorn for
        Salesforce</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/bullhorn/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/bullhorn">Bullhorn</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/workable/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/workable">Workable</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/jobvite/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/jobvite">Jobvite</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/pinpoint/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/pinpoint">Pinpoint</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/join/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/join">JOIN</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/zohorecruit/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/zohorecruit">Zoho Recruit</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/ceipal/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/ceipal">Ceipal</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/eploy/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/eploy">Eploy</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/jobdiva/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/jobdiva">JobDiva</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/eightfold/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/eightfold">Eightfold</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/jobadder/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/jobadder">JobAdder</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/odoo/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/odoo">Odoo</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/compleetpersy/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/compleetpersy">Compleet (Persy API)</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/gem/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/gem">Gem</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/covetorest/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/covetorest">Coveto (REST API)</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/mercury/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/mercury">Mercury</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/crelate/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/crelate">Crelate</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/manatal/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/manatal">Manatal</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/avionte/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/avionte">Avionté</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/asymbl/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/asymbl">Asymbl</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/flatchr/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/flatchr">Flatchr</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/applicantstack/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/applicantstack">ApplicantStack</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/sandbox/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/sandbox">Kombo Sandbox</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/loxo/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/loxo">Loxo</a></li>

        <li class="flex items-center"><img
          src="https://storage.googleapis.com/kombo-assets/integrations/kula/icon.svg"
          height="16px"
          width="16px"
          class="m-0 mr-2"
        /><a href="/ats/connectors/kula">Kula</a></li>

        </ul>


        You'd like to see this feature for another integration? Please reach
        out!

        We're always happy to discuss extending our coverage.

        </Accordion>



        <Note>
          This endpoint requires the permission **Read document attachments** to be enabled in [your scope config](/scopes).
        </Note>
      operationId: GetAtsCandidatesCandidateIdAttachments
      parameters:
        - in: header
          name: X-Integration-Id
          schema:
            type: string
          description: ID of the integration you want to interact with.
          example: join:HWUTwvyx2wLoSUHphiWVrp28
          required: true
        - name: candidate_id
          in: path
          required: true
          description: The Kombo ID of the candidate you want to obtain attachments for.
          schema:
            $ref: >-
              #/components/schemas/GetAtsCandidatesCandidateIdAttachmentsParameterCandidateId
          examples:
            example1:
              value: 8Xi6iZrwusZqJmDGXs49GBmJ
      responses:
        '200':
          description: GET /ats/candidates/:candidate_id/attachments Positive response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetAtsCandidatesCandidateIdAttachmentsPositiveResponse
              examples:
                example1:
                  value:
                    status: success
                    data:
                      results:
                        - id: EYJjhMQT3LtVKXnTbnRT8s6U
                          application_id: null
                          candidate_id: BTbkvY2w5ou3z3hdwuKcKzDh
                          type: CV
                          remote_id: GUzE666zfyjeoCJX6A8n7wh6
                          data_url: https://resources.kombo.dev/EYJjhMQT3LtVKXnTbnRT8s6U
                          file_name: Frank Doe CV.pdf
                          content_type: application/pdf
                          remote_created_at: null
                          remote_updated_at: null
                    warnings:
                      - message: This is an example warning!
        default:
          $ref: '#/components/responses/ErrorResponseATS'
      x-codeSamples:
        - lang: python
          label: GetAtsCandidatesCandidateIdAttachments
          source: |-
            from kombo import Kombo


            with Kombo(
                integration_id="workday:HWUTwvyx2wLoSUHphiWVrp28",
                api_key="<YOUR_BEARER_TOKEN_HERE>",
            ) as k_client:

                res = k_client.ats.get_candidate_attachments(candidate_id="8Xi6iZrwusZqJmDGXs49GBmJ")

                # Handle response
                print(res)
        - lang: typescript
          label: GetAtsCandidatesCandidateIdAttachments
          source: |-
            import { Kombo } from "@kombo-api/sdk";

            const kombo = new Kombo({
              integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
              api_key: "<YOUR_BEARER_TOKEN_HERE>",
            });

            async function run() {
              const result = await kombo.ats.getCandidateAttachments({
                candidate_id: "8Xi6iZrwusZqJmDGXs49GBmJ",
              });

              console.log(result);
            }

            run();
        - lang: ruby
          label: GetAtsCandidatesCandidateIdAttachments
          source: >-
            require 'kombo'


            Models = ::Kombo::Models

            s = ::Kombo::Kombo.new(
              integration_id: 'workday:HWUTwvyx2wLoSUHphiWVrp28',
              security: Models::Shared::Security.new(
                api_key: '<YOUR_BEARER_TOKEN_HERE>'
              )
            )

            res = s.ats.get_candidate_attachments(candidate_id:
            '8Xi6iZrwusZqJmDGXs49GBmJ')


            unless
            res.get_ats_candidates_candidate_id_attachments_positive_response.nil?
              # handle response
            end
components:
  schemas:
    GetAtsCandidatesCandidateIdAttachmentsParameterCandidateId:
      type: string
      description: The Kombo ID of the candidate you want to obtain attachments for.
    GetAtsCandidatesCandidateIdAttachmentsPositiveResponse:
      type: object
      properties:
        status:
          type: string
          const: success
        data:
          type: object
          properties:
            results:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                    minLength: 24
                    maxLength: 24
                    pattern: ^[1-9A-HJ-NP-Za-km-z]+$
                  application_id:
                    type:
                      - string
                      - 'null'
                    minLength: 24
                    maxLength: 24
                    pattern: ^[1-9A-HJ-NP-Za-km-z]+$
                    description: >-
                      The Kombo ID of the application this attachment belongs
                      to. When this is null, the attachment is not specific to
                      any application but the candidate.
                  candidate_id:
                    type: string
                    minLength: 24
                    maxLength: 24
                    pattern: ^[1-9A-HJ-NP-Za-km-z]+$
                    description: The Kombo ID of the candidate this attachment belongs to.
                  type:
                    type: string
                    enum:
                      - CV
                      - COVER_LETTER
                      - OTHER
                  remote_id:
                    type: string
                  data_url:
                    type: string
                  file_name:
                    type: string
                  content_type:
                    type: string
                    description: The MIME type of the attachment.
                  remote_created_at:
                    description: The date when the attachment was created.
                    type:
                      - string
                      - 'null'
                    format: date-time
                    externalDocs:
                      url: >-
                        https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
                  remote_updated_at:
                    description: The date when the attachment was last updated.
                    type:
                      - string
                      - 'null'
                    format: date-time
                    externalDocs:
                      url: >-
                        https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
                required:
                  - id
                  - application_id
                  - candidate_id
                  - type
                  - remote_id
                  - data_url
                  - file_name
                  - content_type
                  - remote_created_at
                  - remote_updated_at
          required:
            - results
          examples:
            - results:
                - id: EYJjhMQT3LtVKXnTbnRT8s6U
                  application_id: null
                  candidate_id: BTbkvY2w5ou3z3hdwuKcKzDh
                  type: CV
                  remote_id: GUzE666zfyjeoCJX6A8n7wh6
                  data_url: https://resources.kombo.dev/EYJjhMQT3LtVKXnTbnRT8s6U
                  file_name: Frank Doe CV.pdf
                  content_type: application/pdf
                  remote_created_at: null
                  remote_updated_at: null
        warnings:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
            required:
              - message
          description: >-
            These are the interaction warnings that are shown in the dashboard.
            They are meant to provide debug information to you. We recommend
            logging them to the console.
      required:
        - status
        - data
        - warnings
  responses:
    ErrorResponseATS:
      description: The standard error response with the error codes for the ATS use case.
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                enum:
                  - error
              error:
                type: object
                properties:
                  code:
                    type:
                      - string
                      - 'null'
                    enum:
                      - PLATFORM.RATE_LIMIT_EXCEEDED
                      - PLATFORM.CONCURRENCY_LIMIT_EXCEEDED
                      - PLATFORM.INTEGRATION_NOT_FOUND
                      - PLATFORM.INPUT_INVALID
                      - PLATFORM.UNKNOWN_ERROR
                      - PLATFORM.IP_NOT_WHITELISTED
                      - PLATFORM.AUTHENTICATION_INVALID
                      - PLATFORM.TASK_TIMED_OUT
                      - INTEGRATION.PERMISSION_MISSING
                      - INTEGRATION.AUTHENTICATION_INVALID
                      - INTEGRATION.QA_FAILED
                      - INTEGRATION.SETUP_SYNC_PENDING
                      - INTEGRATION.SETUP_INCOMPLETE
                      - INTEGRATION.INACTIVE
                      - INTEGRATION.MODEL_NOT_AVAILABLE
                      - INTEGRATION.MODEL_DISABLED
                      - INTEGRATION.ACTION_NOT_AVAILABLE
                      - INTEGRATION.ACTION_DISABLED
                      - REMOTE.SERVICE_UNAVAILABLE
                      - REMOTE.RATE_LIMIT_EXCEEDED
                      - REMOTE.INPUT_INVALID
                      - REMOTE.UNKNOWN_HTTP_ERROR
                      - ATS.JOB_CLOSED
                      - ATS.APPLICATION_ALREADY_EXISTS
                    example: ATS.JOB_CLOSED
                    description: >-
                      Some errors include an error code that can be used to
                      identify their cause. See the [Error Handling
                      Docs](https://docs.kombo.dev/guides/errors) for more
                      information. For your error handling logic please use the
                      error `code` instead of other properties (e.g. message,
                      http status code, ...).
                  title:
                    type:
                      - string
                      - 'null'
                    description: A static, human-readable label.
                  message:
                    type: string
                    description: >-
                      A dynamic, detailed description of what went wrong in this
                      specific instance.
                  log_url:
                    type:
                      - string
                      - 'null'
                    format: uri
                    description: >-
                      The log page in the Kombo UI lists every interaction with
                      full details. If you need assistance, share that link with
                      our support team.
                required:
                  - code
                  - title
                  - message
                  - log_url
                description: Error details with structured code for programmatic handling.
            required:
              - status
              - error
          examples:
            Error Response:
              description: >-
                When building error handling logic, always use the `code` field
                to identify specific error types programmatically. See the
                complete list of error codes in the
                [docs](https://docs.kombo.dev/guides/errors).
              value:
                status: error
                error:
                  code: INTEGRATION.MODEL_NOT_AVAILABLE
                  title: >-
                    This data model isn't supported for the selected
                    integration.
                  message: >-
                    The "employees" model is not yet available for Greenhouse.
                    Please reach out to Kombo if you need this functionality.
                  log_url: https://app.kombo.dev/my-prod/logs?interactionId=123456
            Minimal Error Response:
              description: >-
                The "message" is always required while other fields can also be
                `null`. See the [docs](https://docs.kombo.dev/guides/errors) for
                more information.
              value:
                status: error
                error:
                  code: null
                  title: null
                  message: The message is always in the response.
                  log_url: null
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Create an API key on the [Secrets](https://app.kombo.dev/secrets) page
        in the Kombo dashboard.

````