Log in Book a demo

API

In short

Every Hyperdesk capability is one POST call. Method names follow Ashby’s where Ashby has the method, so scripts written for Ashby move over with a new base URL and key.

Before you start

The API needs a Hyperdesk account. Every call uses an API key, and a key belongs to a person on your team. Access is by invitation, people sign in at app.hyperdesk.com/ats, and the way to get an account is to book a demo.

A call without a key is refused with 401:

Code
{ "success": false, "errorInfo": { "code": "unauthorized", "message": "Pass an API key: Authorization: Basic base64(<key>:) or Bearer <key>", "requestId": "..." }, "errors": ["..."] }

API keys

  • Where: in Hyperdesk, Settings > Claude, MCP and API > Your API keys. Admins see everyone’s keys under Admin > API keys. Keys can also be made with apiKey.create.
  • Shown once. Keys look like hd_live_..., are shown once when made, and are stored hashed.
  • Acts as its owner. A key acts as the person who made it, with that person’s current role and access, and can never do more. When the person is deactivated, their keys stop working.
  • Scopes. A key can be limited to some areas, each with read, write or delete, for example { "candidates": { "read": true } }. Without scopes it can do what its owner can.
  • Sending it: Authorization: Basic base64(<key>:) (the key as the username, as Ashby does) or Authorization: Bearer <key>.
  • Revoking: apiKey.revoke, or from the same screen. Calls with a revoked key fail at once.

Requests

<your-hyperdesk-address> stands for your team’s Hyperdesk address. It comes with your account, and Hyperdesk shows it, filled in, under Settings > Claude, MCP and API.

POST https://<your-hyperdesk-address>/api/v1/<capability id> with the capability’s input as a JSON object:

Code
curl -X POST https://<your-hyperdesk-address>/api/v1/candidate.search \
  -H "Authorization: Bearer $HYPERDESK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "stripe", "limit": 10}'

A reply:

Code
{ "success": true, "results": [ ... ], "moreDataAvailable": true, "nextCursor": "..." }
  • results holds the result: a list for list and search methods, otherwise an object.
  • Writes that can be reversed add an undoToken.
  • Every reply has the header x-hyperdesk-request-id; quote it when you ask about a call.

Method names

The method is the capability id: candidate.search, application.changeStage, report.query. Signed in, capability_search over MCP and hyperdesk capabilities on the command line list them all. Where Ashby has a method, Hyperdesk uses Ashby’s name, and these Ashby names are also accepted:

Ashby nameRuns
candidate.addNotecandidate.createNote
application.change_stageapplication.changeStage
report.synchronousreport.run
report.generatereport.run
report.pipelineanalytics.pipelineSummary
offer.startApprovalProcessoffer.startApproval
offer.approveapproval.decideStep
feedback.listapplicationFeedback.list
feedback.submitapplicationFeedback.submit

Pagination

List and search methods take limit (usually up to 100) and cursor. A reply with moreDataAvailable: true has a nextCursor: pass it as cursor for the next page. Many lists also take updatedAfter (ISO 8601) to fetch only what changed since your last sync.

Writes

  • They run as the key’s owner. A write with an API key runs at once, with the owner’s access, and is recorded in the audit log. (Writes through MCP become proposals instead; see Approvals and undo.)
  • Dry run: send X-Dry-Run: true (or "_dryRun": true in the body) to get { "success": true, "dryRun": true, "preview": { ... } } and change nothing. The preview has a summary, how many records, the changes and side effects such as emails.
  • Idempotency: send Idempotency-Key: <your key> (or idempotencyKey in the body). The same key from the same person within 24 hours returns the first result instead of running again, with the header x-idempotency-replayed: true.
  • Undo: pass a write’s undoToken to action.undo within 7 days. Only the person who made the change, or an admin, can undo it.

Errors

A failed call returns { "success": false, "errorInfo": { "code", "message", "requestId", "data" }, "errors": [message] } with an HTTP status:

StatusCodeWhat it means
400bad_requestAn input isn’t valid; data.issues names each field
401unauthorized, invalid_api_keyNo key, or the key isn’t valid any more
403forbiddenThe key or its owner can’t do this
404not_found, unknown_methodNo such record (records in other organizations are not found too), or no such method
409conflictThe record changed or is in the wrong state
409needs_connectionAn app must be connected first, such as Gmail or Google Calendar; data.appName says which
429rate_limitedToo many requests
503not_configuredA feature isn’t switched on for this organization yet

Messages are plain sentences that say what to do next.

Rate limits

1,000 requests a minute per key. Over that, calls return 429 with the code rate_limited.

OpenAPI

https://<your-hyperdesk-address>/api/v1/openapi.json describes every capability as a POST under https://<your-hyperdesk-address>/api/v1, with its input schema. It is generated from the same definitions as the API, so it doesn’t drift.

Command line

The hyperdesk command line runs the same capabilities through the API with your key:

Code
hyperdesk login --key hd_live_... --url https://<your-hyperdesk-address>
hyperdesk candidate search "staff engineer"
hyperdesk application change-stage --application-id app_1 --stage-title Onsite
hyperdesk capabilities interview
hyperdesk describe interviewSchedule.create

Each command is a capability id in words (application.changeStage is hyperdesk application change-stage), and inputs are flags. Before a change it shows the preview and asks; --dry-run only previews, --yes skips the question, --json prints JSON and --idempotency-key makes retries safe. After a change it prints the undo command.

Skill

The Hyperdesk skill teaches Claude, or any agent that reads skill folders, how Hyperdesk works: the surfaces, how to work (find ids before acting, previews, approvals, undo) and every capability by area. It is generated from the same definitions as the API.

  • https://<your-hyperdesk-address>/api/skill downloads it as a zip (a hyperdesk/ folder with SKILL.md and references).
  • https://<your-hyperdesk-address>/api/skill?format=md returns SKILL.md alone.

Downloading it needs a sign-in or an API key; it is also under Settings > Claude, MCP and API.

Need an account?

Every surface needs a Hyperdesk account; access is by invitation. Using Hyperdesk day to day? The help center has the how-tos.

↑↓ to moveEnter to openEsc to close