API reference
Retrieve a decision
GET
The current hiring decision for a candidate and a job. Answers decision_not_found when none has been recorded.
Required scope: decisions:read (decisions:write also works).
Errors
- 400:
unknown_field - 401:
authentication_required,invalid_api_key - 403:
api_access_disabled,insufficient_scope - 404:
candidate_not_found,decision_not_found,job_not_found - 422:
invalid_parameter - 429:
rate_limit_exceeded - 500:
api_error - 503:
service_unavailable
ApiKeyheader
AuthorizationBearer <probb_live_<id>_<secret>>jobId*stringThe job's ID.
Length
1 <= length <= 200candidateId*stringThe candidate's ID.
Length
1 <= length <= 200Success.
application/json- response
object*stringid*stringThe decision's ID.
candidate*The candidate the decision is about.
job*The job the decision is about.
decision*stringThe hiring decision.
Value in
"advance""hold""not_progressing""hired"note*|Why, in the decider's words.
reportId*|The report the decision was made from, when there was one.
decidedBy*Who made the decision.
decidedAt*stringWhen the decision was made.
Format
date-timeupdatedAt*stringWhen the decision last changed.
Format
date-time# Set PROBB_URL and PROBB_API_KEY. Replace any *_VALUE placeholder and any example ID (such as job_example) with a real one.curl --fail-with-body -X GET "$PROBB_URL/api/v1/jobs/JOB_ID_VALUE/candidates/CANDIDATE_ID_VALUE/decision" \ -H "Authorization: Bearer $PROBB_API_KEY"Example Response
{ "object": "decision", "id": "string", "candidate": { "id": "string", "name": "string" }, "job": { "id": "string", "title": "string" }, "decision": "advance", "note": "string", "reportId": "string", "decidedBy": { "type": "user", "id": "string", "name": "string" }, "decidedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}