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:
{ "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) orAuthorization: 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:
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:
{ "success": true, "results": [ ... ], "moreDataAvailable": true, "nextCursor": "..." }resultsholds 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 name | Runs |
|---|---|
candidate.addNote | candidate.createNote |
application.change_stage | application.changeStage |
report.synchronous | report.run |
report.generate | report.run |
report.pipeline | analytics.pipelineSummary |
offer.startApprovalProcess | offer.startApproval |
offer.approve | approval.decideStep |
feedback.list | applicationFeedback.list |
feedback.submit | applicationFeedback.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": truein 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>(oridempotencyKeyin the body). The same key from the same person within 24 hours returns the first result instead of running again, with the headerx-idempotency-replayed: true. - Undo: pass a write’s
undoTokentoaction.undowithin 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:
| Status | Code | What it means |
|---|---|---|
| 400 | bad_request | An input isn’t valid; data.issues names each field |
| 401 | unauthorized, invalid_api_key | No key, or the key isn’t valid any more |
| 403 | forbidden | The key or its owner can’t do this |
| 404 | not_found, unknown_method | No such record (records in other organizations are not found too), or no such method |
| 409 | conflict | The record changed or is in the wrong state |
| 409 | needs_connection | An app must be connected first, such as Gmail or Google Calendar; data.appName says which |
| 429 | rate_limited | Too many requests |
| 503 | not_configured | A 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:
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.createEach 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/skilldownloads it as a zip (ahyperdesk/folder withSKILL.mdand references).https://<your-hyperdesk-address>/api/skill?format=mdreturnsSKILL.mdalone.
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.