Archive a Lever opportunity with a specific archive reason

domain: lever.co · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. GET https://api.lever.co/v1/archive_reasons to retrieve all configured archive reason objects and their IDs; note the ID for the reason you want to apply.
  2. Send PUT https://api.lever.co/v1/opportunities/:opportunity_id/archived with a JSON body containing a reason_id field set to the archive reason ID.
  3. The response returns the updated opportunity; verify the archived field is now an object containing the reason_id and archivedAt timestamp.
  4. To unarchive, send PUT /opportunities/:opportunity_id/archived with a body of null or an empty body depending on API version; confirm the archived field returns to null.
  5. After archiving, you can still read the opportunity via GET /v1/opportunities/:id; archived opportunities are excluded from default list queries but retrievable with archived=true.
  6. Log the archive action and reason in your system for compliance and recruiter reporting purposes.

Known gotchas

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans