<!-- Generated by scripts/build-docs.js. Edit docs/swagger.yaml or docs/guides/, then run `npm run docs:build`. -->

# Get a candidate

`GET https://marketplace-api.sequifi.com/v1/candidates/{id}`

Module: Candidates · operationId: `getCandidate` · Auth: `Authorization: Bearer <token>`
Web page: https://apidocs.sequifi.com/#/api/get-candidate

Returns one candidate by id. The response uses the list shape: a `candidates` array with one item, plus paging fields fixed at `current_page: 1`, `per_page: 50`, `total: 1` and `last_page: 1`.

**Formats:**

- Same fields and formats as `GET /v1/candidates`. Interview and stage dates are midnight UTC; use the date part.

**Errors:**

- `400 Invalid candidate id`: the id is not a positive whole number.
- `400 Cannot use query parameters when fetching a single candidate by id`
- `404 Candidate not found`: no candidate has this id. Onboarding ids and user ids are different numbers and also return `404`.

**Related:**

- `POST /v1/onboarding` with `lead_id` set to this id starts onboarding for the candidate.

## Path parameters

- `id` (integer, **required**): Candidate id, from `GET /v1/candidates`. Minimum: 1. Example: `1093`.

## Example request

```bash
curl -X GET "https://marketplace-api.sequifi.com/v1/candidates/1093" \
  -H "Authorization: Bearer $SEQUIFI_TOKEN"
```

## Responses

### 200: The candidate, as a one-item list.

- `status` (integer): Same as the HTTP status code. Example: `200`.
- `message` (string) Example: `success`.
- `data` (object)
  - `requestedBy` (string): Label of the API credentials that made the call.
  - `current_page` (integer): Always 1.
  - `per_page` (integer): Always 50.
  - `total` (integer): Always 1.
  - `last_page` (integer): Always 1.
  - `candidates` (array of object): Exactly one candidate, with the same fields as `GET /v1/candidates`.
    - `id` (integer): Candidate id.
    - `first_name` (string): First name.
    - `last_name` (string): Last name.
    - `email` (string, nullable): Email address.
    - `mobile_no` (string, nullable): Mobile number as stored.
    - `status` (string, nullable): Free-text status.
    - `pipeline_status` (string, nullable): Pipeline stage name, or null.
    - `interview_date` (string, nullable): Interview day as midnight UTC. Use the date part.
    - `recruiter` (object, nullable): `{id, first_name, last_name, email}`, or null.
    - `reporting_manager` (object, nullable): `{id, first_name, last_name, email}`, or null.
    - `updated_at` (string): UTC timestamp.

```json
{
  "status": 200,
  "message": "success",
  "data": {
    "requestedBy": "acme",
    "current_page": 1,
    "per_page": 50,
    "total": 1,
    "last_page": 1,
    "candidates": [
      {
        "id": 1093,
        "first_name": "Alex",
        "last_name": "Morgan",
        "email": "alex.morgan@example.com",
        "mobile_no": "5125550148",
        "source": "Referral",
        "status": "Follow Up",
        "interview_date": "2026-06-03T00:00:00.000Z",
        "interview_time": "14:30:00",
        "last_hired_date": null,
        "pipeline_status_date": "2026-05-27T00:00:00.000Z",
        "lead_rating": "4.00",
        "custom_rating": "3.50",
        "overall_rating": "3.75",
        "custom_fields_detail": [
          {
            "id": 12,
            "field_name": "Resume URL",
            "field_type": "text",
            "value": "https://example.com/resume.pdf"
          }
        ],
        "comments": "Strong closer, available immediately.",
        "created_at": "2026-05-20T09:12:44.000Z",
        "updated_at": "2026-05-27T16:03:10.000Z",
        "state_code": "TX",
        "office_name": "Austin",
        "pipeline_status": "Phone Screen",
        "recruiter": {
          "id": 57,
          "first_name": "Jamie",
          "last_name": "Chen",
          "email": "jamie.chen@example.com"
        },
        "reporting_manager": {
          "id": 312,
          "first_name": "Riley",
          "last_name": "Brooks",
          "email": "riley.brooks@example.com"
        }
      }
    ]
  }
}
```

### 400: The id is invalid, or query parameters were sent with it.

Example (invalid_id): id is not a positive whole number

```json
{
  "status": 400,
  "message": "Invalid candidate id",
  "data": {}
}
```

### 401: Missing, unknown, expired or disabled token. Sent by the gateway as `{"message":"Unauthorized"}`, without `status` or `data`.

```json
{
  "message": "Unauthorized"
}
```

### 404: No candidate has this id.

```json
{
  "status": 404,
  "message": "Candidate not found",
  "data": {}
}
```

### 500: Unexpected server error. Safe to retry.

```json
{
  "status": 500,
  "message": "Internal Server Error",
  "data": {}
}
```
