Docs
API reference

Set a decision

PUT
/api/v1/jobs/{jobId}/candidates/{candidateId}/decision

Records the hiring decision for a candidate and a job, replacing any earlier one. Repeating the same decision and note changes nothing. The change is recorded in the decision's history and announced as decision.updated.

Required scope: decisions:write.

Errors

  • 400: invalid_content_type, invalid_json, request_body_too_large, unknown_field
  • 401: authentication_required, invalid_api_key
  • 403: api_access_disabled, insufficient_scope
  • 404: candidate_not_found, job_not_found
  • 422: invalid_parameter
  • 429: rate_limit_exceeded
  • 500: api_error
  • 503: maintenance_mode, service_unavailable

Authorization

ApiKey
headerAuthorizationBearer <probb_live_<id>_<secret>>

Path Parameters

jobId*string

The job's ID.

Length1 <= length <= 200
candidateId*string

The candidate's ID.

Length1 <= length <= 200

Request Body

application/json
  1. body
decision*string

The hiring decision.

Value in"advance""hold""not_progressing""hired"
note?|

Why, in your words. Send null or omit it for no note.

Response Body

Success.

application/json
  1. response
object*string
id*string

The decision's ID.

candidate*

The candidate the decision is about.

job*

The job the decision is about.

decision*string

The 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*string

When the decision was made.

Formatdate-time
updatedAt*string

When the decision last changed.

Formatdate-time
Example Request
# 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 PUT "$PROBB_URL/api/v1/jobs/JOB_ID_VALUE/candidates/CANDIDATE_ID_VALUE/decision" \  -H "Authorization: Bearer $PROBB_API_KEY" \  -H 'Content-Type: application/json' \  --data-binary '{  "decision": "advance",  "note": "Strong system design answers."}'
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"}