# The Candidates API is deprecated

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

Lever has deprecated the /v1/candidates/* endpoints without specifying a shutdown date. Calls made to these endpoints will eventually fail. The provider stated that these routes have been deprecated as of 2020 while remaining maintained for backwards compatibility.

## What to use instead

Call the Opportunities endpoints (/v1/opportunities and /v1/opportunities/{opportunity}/...) instead of /v1/candidates/.... The candidate id serves as the opportunity id.

- API: Lever API (api.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 API's own pages
- Page: https://www.okapi.bot/providers/lever-api/breaking-changes/the-candidates-api-is-deprecated/

## Lever API'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
