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

# List Candidates

> Retrieve a paginated list of candidates for your organization. Each candidate is linked to a job via shortcode, so only candidates associated with your org's jobs are returned. Supports incremental sync via `updated_since` — use it instead of re-walking the full list on a schedule.

Retrieve a paginated list of candidates across all jobs in your organization. Use the `search` query parameter to filter by name, email, or phone number.

```bash cURL theme={null}
curl -X GET "https://api.classet.ai/v2/candidates?search=john&page=1&limit=20" \
  -H "X-API-KEY: your-api-key"
```

```json 200 theme={null}
{
  "data": [
    {
      "candidate_id": "Xk3pQ9vT2mLr8bNc4Hd1s",
      "first_name": "John",
      "last_name": "Smith",
      "email": "john.smith@example.com",
      "phone": "+15551234567",
      "phone_number": "+15551234567",
      "location": {
        "city": "Austin",
        "region": "Texas",
        "region_code": "TX",
        "country_code": "US",
        "location_str": "Austin, TX"
      },
      "stage": "Applied",
      "stage_kind": "applied",
      "ats_stage_name": null,
      "source": "indeed",
      "tags": null,
      "hired_at": null,
      "disqualified_at": null,
      "ai_opt_out": false,
      "created_at": "2026-04-01T14:30:00.000Z",
      "updated_at": "2026-04-03T09:12:00.000Z",
      "changed_at": "2026-04-05T16:48:21.000Z",
      "job_id": "k7Hq2xVbN",
      "job_title": "Electrician Apprentice",
      "disqualified": false,
      "disqualification_reason": null,
      "resume_url": "https://storage.example.com/resumes/john-smith.pdf",
      "notes": null,
      "custom_data": null
    }
  ],
  "meta": {
    "page": 1,
    "limit": 20,
    "total": 1,
    "next_cursor": null
  }
}
```

`meta.total` is an estimate. To walk every page, pass `meta.next_cursor` back as `?cursor=` until it is `null`; don't stop at `page * limit >= total`. Organizations whose candidates sync from a connected ATS also get `remote_application_id`, `remote_candidate_id` and `remote_job_id` on each candidate. See [Pagination and delta sync](/docs/guides/pagination-and-delta-sync.md).


## OpenAPI

````yaml GET /v2/candidates
openapi: 3.1.0
info:
  title: Classet API
  version: 2.0.3
  description: >-
    AI-powered recruiting and phone screening API.


    **API key scopes.** `read` covers every GET; any other method needs `write`
    (403 `insufficient_scope`); starting or stopping an interview also needs
    `interviews:send`. A branch-limited key sees and writes only jobs in its
    branches (not jobs with no branch) and their candidates, applications and
    calls; anything outside is a 404. An organization-group key is read-only
    across every organization in its group. Branch-limited and group keys cannot
    use organization configuration (scripts, knowledge, webhooks, message
    automations, agent settings, AI generation, organization): 403
    `restricted_key_unsupported`. `GET /v2/me` reports what the calling key can
    do.
servers:
  - url: https://api.classet.ai
    description: Production
  - url: http://localhost:8081
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /v2/candidates:
    get:
      tags:
        - Candidates
      summary: List candidates
      description: >-
        Retrieve a paginated list of candidates for your organization. Each
        candidate is linked to a job via shortcode, so only candidates
        associated with your org's jobs are returned. Supports incremental sync
        via `updated_since` — use it instead of re-walking the full list on a
        schedule.
      parameters:
        - schema:
            type: string
            default: '1'
            example: '1'
            description: Page number (1-based). Defaults to 1.
          required: false
          description: Page number (1-based). Defaults to 1.
          name: page
          in: query
        - schema:
            type: string
            default: '20'
            example: '20'
            description: Results per page. Defaults to 20, maximum 50.
          required: false
          description: Results per page. Defaults to 20, maximum 50.
          name: limit
          in: query
        - schema:
            type: string
            description: Filter by email
          required: false
          description: Filter by exact email address.
          name: email
          in: query
        - schema:
            type: string
            description: Filter by phone
          required: false
          description: Filter by exact phone number.
          name: phone
          in: query
        - schema:
            type: string
            description: Comma-separated list of candidate IDs to filter
            example: cand_abc123,cand_def456
          required: false
          description: >-
            Comma-separated list of candidate IDs to filter. Example:
            `cand_abc123,cand_def456`
          name: candidate_ids
          in: query
        - schema:
            type: string
            description: Search by name, email, or phone
          required: false
          description: >-
            Filter candidates by name, email, or phone number. Case-insensitive
            partial match.
          name: search
          in: query
        - schema:
            type: string
            description: >-
              Only candidates on this job. Accepts a v2 job ID or a v1 job
              shortcode.
          required: false
          description: >-
            Only candidates on this job. Accepts a v2 job ID or a v1 job
            shortcode.
          name: job_id
          in: query
        - schema:
            type: string
            description: Filter by pipeline stage, e.g. Applied.
          required: false
          description: Filter by pipeline stage, e.g. Applied.
          name: stage
          in: query
        - schema:
            type: string
            description: Filter by acquisition source, e.g. indeed.
          required: false
          description: Filter by acquisition source, e.g. indeed.
          name: source
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
            description: Filter to only disqualified or only active candidates.
          required: false
          description: Filter to only disqualified or only active candidates.
          name: disqualified
          in: query
        - schema:
            type: string
            format: date-time
            example: '2026-06-01T00:00:00Z'
            description: >-
              ISO-8601 timestamp. Only return candidates whose `changed_at` is
              greater than or equal to this — use for incremental/delta sync
              instead of paginating the whole list. `changed_at` covers the
              candidate record AND its interview calls, so interview results,
              transcripts, tags and evaluations landing on an existing candidate
              are picked up. Advance your cursor to a timestamp captured before
              the poll started, minus a safety lag (5 minutes), never to
              max(changed_at): results are ordered by created_at, so a row
              changed mid-poll can land on a page you already fetched.
          required: false
          description: >-
            ISO-8601 timestamp. Only return candidates whose `changed_at` is
            greater than or equal to this — use for incremental/delta sync
            instead of paginating the whole list. `changed_at` covers the
            candidate record AND its interview calls, so interview results,
            transcripts, tags and evaluations landing on an existing candidate
            are picked up. Advance your cursor to a timestamp captured before
            the poll started, minus a safety lag (5 minutes), never to
            max(changed_at): results are ordered by created_at, so a row changed
            mid-poll can land on a page you already fetched.
          name: updated_since
          in: query
        - schema:
            type: string
            description: >-
              Opaque cursor from a previous response's meta.next_cursor. Prefer
              this over `page` for full syncs — offset pages shift under you
              when rows are being written.
          required: false
          description: >-
            Opaque cursor from a previous response's meta.next_cursor. Prefer
            this over `page` for full syncs — offset pages shift under you when
            rows are being written.
          name: cursor
          in: query
      responses:
        '200':
          description: Paginated list of candidates
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CandidateSummary'
                  meta:
                    type: object
                    properties:
                      page:
                        type: integer
                        example: 1
                      limit:
                        type: integer
                        example: 20
                      total:
                        type: integer
                        example: 42
                        description: >-
                          Estimated, not exact. Do not page until page * limit
                          >= total — follow meta.next_cursor instead.
                      next_cursor:
                        type: string
                        nullable: true
                        description: >-
                          Present when the request used ?cursor=. Pass back to
                          fetch the next page.
                    required:
                      - page
                      - limit
                      - total
                required:
                  - data
                  - meta
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '404':
          description: Job not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
        '500':
          description: Server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Resource not found
                  code:
                    type: string
                    enum:
                      - not_found
                      - validation_error
                      - unauthorized
                      - forbidden
                      - insufficient_scope
                      - restricted_key_unsupported
                      - branch_out_of_scope
                      - key_misconfigured
                      - quota_exceeded
                      - rate_limited
                      - rate_limit_unavailable
                      - conflict
                      - idempotency_key_reuse
                      - candidate_opted_out
                      - recently_contacted
                      - request_in_progress
                      - unprocessable
                      - bad_request
                      - payload_too_large
                      - internal_error
                      - service_unavailable
                    example: not_found
                    description: Stable machine-readable error code.
                  request_id:
                    type: string
                    example: 9f2c1d7e-4a3b-4c8d-9e0f-1a2b3c4d5e6f
                    description: >-
                      Request ID, also echoed in the X-Request-Id response
                      header. Include it when reporting issues.
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CandidateSummary:
      type: object
      properties:
        candidate_id:
          type: string
          example: cand_abc123
        first_name:
          type: string
          nullable: true
        last_name:
          type: string
          nullable: true
        email:
          type: string
          nullable: true
        phone_number:
          type: string
          nullable: true
          deprecated: true
          description: >-
            Deprecated v1 alias for `phone`. Will be removed in a future
            version.
        phone:
          type: string
          nullable: true
        location:
          nullable: true
        job_id:
          type: string
          nullable: true
          description: >-
            The v2 job ID (`jobs.id`), as GET /v2/jobs returns it.
            `job_shortcode`, where present, is the v1 shortcode of the same job;
            every `{jobId}` and `job_id` input accepts either.
        job_shortcode:
          type: string
          nullable: true
          description: The v1 shortcode of the job.
        job_title:
          type: string
          nullable: true
        stage:
          type: string
          nullable: true
        stage_kind:
          type: string
          nullable: true
          description: Coarse classification of `stage`.
        ats_stage_name:
          type: string
          nullable: true
          description: Stage name in the connected ATS, when one is synced.
        source:
          type: string
          nullable: true
          example: indeed
          description: Acquisition source.
        tags:
          type: array
          nullable: true
          items:
            type: string
        hired_at:
          type: string
          nullable: true
          description: >-
            Set when the candidate was marked hired. The terminal signal in
            Classet — there is no Offer object.
        disqualified:
          type: boolean
          nullable: true
        disqualification_reason:
          type: string
          nullable: true
        disqualified_at:
          type: string
          nullable: true
        ai_opt_out:
          type: boolean
          nullable: true
          description: >-
            True when the candidate has opted out of AI outreach. Do not message
            them.
        resume_url:
          type: string
          nullable: true
        created_at:
          type: string
          nullable: true
        updated_at:
          type: string
          nullable: true
          example: '2026-06-20T14:00:00Z'
          description: >-
            Last-modified timestamp of the candidate record itself. Not the
            delta-sync cursor: a candidate whose call changed but whose record
            did not keeps an older updated_at. Use changed_at.
        changed_at:
          type: string
          nullable: true
          example: '2026-06-21T09:15:00Z'
          description: >-
            The later of updated_at and the newest interview call change
            (results, transcript, tags, evaluations). This is what updated_since
            filters on. Use it to detect change; advance your cursor to a
            pre-poll timestamp minus a safety lag, not to the maximum of this
            field.
        custom_data:
          nullable: true
        remote_candidate_id:
          type: string
          nullable: true
          description: Candidate ID in the external ATS (if synced).
        remote_application_id:
          type: string
          nullable: true
          description: Application ID in the external ATS (if synced).
        remote_job_id:
          type: string
          nullable: true
          description: Job ID in the external ATS (if synced).
      required:
        - candidate_id
        - first_name
        - last_name
        - email
        - phone_number
        - phone
        - job_id
        - job_shortcode
        - job_title
        - stage
        - disqualified
        - disqualification_reason
        - resume_url
        - created_at
        - updated_at
        - changed_at
      description: Candidate summary
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your Classet API key. Create and rotate keys in Settings → API.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.