Decide a hiring manager step
Changed onDecide a hiring manager step
Required scopes: tasks:write, applications:read
Records or changes the hiring manager decision on the candidate's latest step that waits on the hiring manager. advance moves the candidate on; hold keeps them where they are. The job's hiring manager or a recruiter on the job may decide; anyone else gets 403 application_decision_forbidden. Pass interview_id to name the step; without it the latest waiting step is used. send_to_recruiter: true also sends the note to the recruiter. The response is the decision read shape after the write.
Example (curl):
curl -X POST https://api.yardstick.team/v1/applications/app_def456/actions/decide_hiring_step \
-H 'Authorization: Bearer ys_sk_live_…' \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: 7c3a…' \
-d '{"decision":"advance","note":"Strong systems depth"}'
Example (TypeScript):
await fetch(
"https://api.yardstick.team/v1/applications/app_def456/actions/decide_hiring_step",
{
method: "POST",
headers: {
Authorization: `Bearer ${process.env.YS_API_KEY}`,
"Content-Type": "application/json",
"Idempotency-Key": crypto.randomUUID(),
},
body: JSON.stringify({ decision: "advance", note: "Strong systems depth" }),
},
);
Request
- Base URL: https://api.yardstick.team
- URL: https://api.yardstick.team/v1/applications/{application_id}/actions/decide_hiring_step
- Auth: HTTP bearer
Path parameters
Headers
Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.
Optional caller-supplied request identifier. Values must match ^[A-Za-z0-9_-]{1,128}$; a valid value is echoed in the response X-Request-Id header, otherwise the API generates one.
Request body
Response
Decision recorded. The response is the hiring manager decision read shape.
Changes
- info
endpoint added
- info