Skip to main content
The Alex API v2 lets you manage jobs, candidates, invitations, applications, interviews, handoffs and data exports from your own systems, and hear about changes through events and webhooks. Every endpoint follows the same conventions for authentication, errors, pagination and retries.
Moving from the earlier API? See the migration guide for how each endpoint maps to v2.

Base URL

Send every request over HTTPS to:

Authentication

Use your company’s API key. You’ll find it in Alex under Settings → Integrations. Send it in either header:
The earlier API’s api-key header works too, so an existing integration can keep sending it. If you send X-API-Key and api-key with different keys, the request is refused with api_key_conflicting; a key header is used over Authorization: Bearer. The key decides which company the request acts for. You can’t name a company in the request. A missing or wrong key returns 401 with one of these codes:

Your first request

Conventions

  • JSON in, JSON out. Send request bodies as JSON with Content-Type: application/json. Other content types get 415. Unknown body fields get 400 parameter_unknown, so typos don’t pass silently. Most endpoints reject unknown query parameters the same way; each endpoint’s page lists the ones it takes.
  • snake_case fields. Every field name is snake_case.
  • Typed objects. Every resource has an object field, such as "job" or "candidate". Lists have "object": "list".
  • Timestamps are ISO 8601 strings in UTC, such as 2026-11-30T14:05:12.000Z.
  • Missing values are null. Fields are always present; a value that isn’t set is null.
  • Request ids. Every response has a Request-Id header. Include it when you contact support.
  • Same ids as v1. A job, candidate or interview has the same id in v1 and v2, so ids you stored from v1 work here.

Application stages

v2 tracks an application’s progress through its stage: the same stages your team moves candidates through in Alex, each in one of four categories (not_started, in_progress, complete_successful, complete_unsuccessful). Read it on the application, change it with PATCH /applications/{id}, and hear about changes with application.stage_changed. An application’s stage is null only when it has no stage yet.

Events and webhooks

v2 records what changes in your account as events. Poll them with GET /events, or register a webhook endpoint to have them sent to you. The v1 webhooks keep working; their reportId is the interview’s id in v2.

What changed from v1

Next steps

Errors

The error envelope and the codes to handle.

Pagination

Page through lists and poll for changes.

Idempotency

Retry safely without doing the work twice.

Rate limits

How limits work and how to back off.

Events and webhooks

Hear about changes as they happen.

Migrating to v2

Map each earlier endpoint to v2.