Work History

Create a work history entry

POST
https://api.searchsoftware.nl/v4/work_history

Creates a new work history entry linking a person to a company. Requires work_history:write.

Body

application/json
person_idstringrequired

Person ID

company_idstring

Company ID

company_namestring

Company name if no linked company

work_titlestring

Job title

is_currentboolean

Current position flag

is_primary_contactboolean

Primary contact flag

Response

Work history entry created

Response fields application/json
statusstringrequired
Example
ok
dataWorkHistoryObjectrequired
Show child attributes
idstringrequired

Identifier

Example
vM7Lp2q
typestringrequired
Example
work_history
attributesWorkHistoryAttributesrequired
Show child attributes
person_idstring | null

Identifier

Example
vM7Lp2q
company_idstring | null

Identifier

Example
vM7Lp2q
company_namestring | null

Company name (free text if no company linked)

work_titlestring | null

Job title at this position

is_currentbooleanrequired

Whether this is the current position

Example
false
is_primary_contactbooleanrequired

Whether this is the primary contact role

Example
false
created_atstring<date-time>required
Example
2026-01-15T09:00:00Z
updated_atstring<date-time>required
Example
2026-01-15T09:00:00Z
400Bad RequestErrorResponse

Invalid body

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_BODY",
    "status_code": 400,
    "message": "Invalid request body"
  }
}
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"
  }
}
404Not FoundErrorResponse

Person or company not found

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": "NOT_FOUND",
    "status_code": 404,
    "message": "Record not found"
  }
}
422Unprocessable EntityErrorResponse

Validation failed

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": "VALIDATION_FAILED",
    "status_code": 422,
    "message": "Validation failed"
  }
}
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: work_history:write

oauth2_authoauth2

OAuth authorization code flow with mandatory S256 PKCE.

Scopes: work_history:write

apikey_authapiKey in query

API key in query string

Scopes: work_history:write