---
title: "Resolve a candidate in the ATS"
method: POST
path: "/api/v2/ats/candidates/resolve"
tags: ["ATS"]
---

# Resolve a candidate in the ATS

`POST /api/v2/ats/candidates/resolve`

Search the connected ATS for a candidate by email or ATS candidate ID. Returns matching candidates so the caller can decide whether to push an existing record or create a new one. Only Bullhorn and Avionte are currently supported.

## Headers

- `X-API-KEY` string, nullable
- `Authorization` string, nullable
- `X-Workspace-Id` string, nullable

## Request body

- ResolveCandidateRequest
  - `ats_name` string, required — ATS provider name (e.g. 'bullhorn').
  - `email` string, nullable — Candidate email to search by.
  - `ats_candidate_id` string, nullable — ATS-native candidate ID to search by.
  - `limit` integer, nullable — Max matches to return.

## Response `200`

Successful Response

- SingleResponseResolveCandidateResponse
  - `data` ResolveCandidateResponse, required
    - `success` boolean, required
    - `status` string
    - `email` string, nullable
    - `ats_candidate_id` string, nullable
    - `matches` CandidateMatch[]
      - `ats_candidate_id` string, nullable — ATS-native candidate ID.
      - `first_name` string, nullable
      - `last_name` string, nullable
      - `email` string, nullable
      - `email2` string, nullable
      - `email3` string, nullable
      - `phone` string, nullable
      - `status` string, nullable
      - `match_reason` string, nullable
    - `error` string, nullable
  - `meta` object, nullable — Optional metadata. Shape varies by endpoint.

## Other responses

- `400` — Unsupported ATS provider.
- `401` — Invalid or missing API key.
- `422` — Validation Error
- `429` — Rate limit exceeded.

---

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