Workflows

Get workflow defaults

GET
https://api.searchsoftware.nl/v4/workflows/defaults

Returns the workspace default workflow per item type (person, company, job, job_candidate) and that workflow's default sourcing and applicant phases. The workflow is the workspace default when it is set and still matches the item type; otherwise the workspace's only workflow for that type; otherwise null. A phase is null when the workflow has none set or it no longer belongs to that workflow. Requires workflows:read.

Response

Workflow defaults

Response fields application/json
statusstringokrequired
Example
ok
Show child attributes
workflowsWorkflowDefaultsWorkflowsrequired
Show child attributes
Show child attributes
workflow_idstring | nullrequired

Default workflow ID for the item type

Example
vM7Lp2q
Show child attributes
workflow_idstring | nullrequired

Default workflow ID for the item type

Example
vM7Lp2q
Show child attributes
workflow_idstring | nullrequired

Default workflow ID for the item type

Example
vM7Lp2q
job_candidateWorkflowDefaultWorkflowrequired
Show child attributes
workflow_idstring | nullrequired

Default workflow ID for the item type

Example
vM7Lp2q
Show child attributes
personWorkflowDefaultPhasesrequired
Show child attributes
sourcing_phase_idstring | nullrequired

Default sourcing phase ID of the default workflow

Example
vM7Lp2q
applicant_phase_idstring | nullrequired

Default applicant phase ID of the default workflow

Example
vM7Lp2q
companyWorkflowDefaultPhasesrequired
Show child attributes
sourcing_phase_idstring | nullrequired

Default sourcing phase ID of the default workflow

Example
vM7Lp2q
applicant_phase_idstring | nullrequired

Default applicant phase ID of the default workflow

Example
vM7Lp2q
Show child attributes
sourcing_phase_idstring | nullrequired

Default sourcing phase ID of the default workflow

Example
vM7Lp2q
applicant_phase_idstring | nullrequired

Default applicant phase ID of the default workflow

Example
vM7Lp2q
job_candidateWorkflowDefaultPhasesrequired
Show child attributes
sourcing_phase_idstring | nullrequired

Default sourcing phase ID of the default workflow

Example
vM7Lp2q
applicant_phase_idstring | nullrequired

Default applicant phase ID of the default workflow

Example
vM7Lp2q
401UnauthorizedErrorResponse

Invalid API key

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INVALID_API_KEY",
    "status_code": 401,
    "message": "Invalid API key"
  }
}
403ForbiddenErrorResponse

Insufficient scope

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "FORBIDDEN",
    "status_code": 403,
    "message": "Insufficient scope"
  }
}
500Internal Server ErrorErrorResponse

Internal server error

Response fields application/json
statusstringerrorrequired
Example
error
errorErrorBodyrequired
Show child attributes
codestringrequired

Stable machine-readable error code.

status_codeinteger<int32>required

HTTP status code for this response.

messagestringrequired

Human-readable error message.

Example
{
  "status": "error",
  "error": {
    "code": "INTERNAL_ERROR",
    "status_code": 500,
    "message": "Internal server error"
  }
}

Authorization

bearer_authhttp (bearer) in header

API key or OAuth access token in Authorization header

Scopes: workflows:read

oauth2_authoauth2

OAuth authorization code flow with mandatory S256 PKCE.

Scopes: workflows:read

apikey_authapiKey in query

API key in query string

Scopes: workflows:read