Skip to content

List a worker's compliance documents

GET
/v1/workers/{workerId}/compliances
curl --request GET \
--url https://api2.recruso.co.uk/v1/workers/1/compliances \
--header 'Authorization: <Authorization>'

Returns every document held for a worker in your own agency, oldest first — the worker’s right-to-work register, including documents that have since expired.

The same document type can appear several times: each renewal is its own record with its own dates. The list is not paged. A worker id belonging to another agency returns 404 rather than 403, so their existence is never disclosed.

Access. Requires a client-credentials access token. Tokens issued through the interactive user login are rejected.

workerId
required
integer format: int32

The workerId path parameter

OK

Media typeapplication/json

Every compliance document held for a worker.

object
workerId

The worker the documents belong to.

integer format: int32
compliances

The documents, oldest first.

Array<object>

A compliance document held for the worker.

object
workerComplianceId

The record’s identifier.

integer format: int32
complianceId

The kind of document, as an id from your agency’s Compliance lookup.

integer format: int16
startDate

The date the document takes effect.

string format: date
nullable
endDate

The date the document expires.

string format: date
nullable
Example
{
"workerId": 4821,
"compliances": [
{
"workerComplianceId": 7311,
"complianceId": 3,
"startDate": "2026-01-15",
"endDate": "2031-01-14"
}
]
}

Unauthorized

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Forbidden

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}