# The Candidates API is deprecated

Lever deprecated /v1/candidates/* without giving a shutdown date yet.

The /v1/candidates/* endpoints are deprecated without a shutdown date, though they have been maintained for backwards compatibility. Requests to these endpoints will eventually fail. The provider deprecated them as of 2020.

## What to use instead

Call the Opportunities endpoints (/v1/opportunities and /v1/opportunities/{opportunity}/...) instead of /v1/candidates/..., where the candidate id is the opportunity id.

- API: Lever (api.eu.lever.co)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/v1/candidates/*`
- Source: [Announcement](https://hire.lever.co/developer/documentation)
- Verified: October 26, 2026, against Lever's own pages
- Page: https://www.okapi.bot/providers/lever/breaking-changes/the-candidates-api-is-deprecated/

## Lever's words

> The Candidates endpoints were deprecated as of 2020. Though they are maintained for backwards compatibility, going forward please see

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
