GET /workers/{id}
Summary
Get worker
URL Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Worker identifier |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| includeDocumentValidations | boolean | No | If true, include matching competency-validation rows for each document in attachments and rightToWork. Non-system validations are limited to companies linked to the API key. |
Request Body Fields
No request body is accepted for this endpoint.
Request Example
- cURL
- JavaScript
curl -X GET 'https://api.requidex.com/api/open/v1/workers/{id}?includeDocumentValidations=true' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'
const response = await fetch(
"https://api.requidex.com/api/open/v1/workers/{id}?includeDocumentValidations=true",
{
method: "GET",
headers: {
Authorization: "Bearer <API_KEY>",
Accept: "application/json",
},
}
);
const json = await response.json();
Response Fields
| Field | Type | Description |
|---|---|---|
| id | string | Worker id |
| reference | string | Worker reference |
| firstName | string | Worker first name |
| lastName | string | Worker last name |
| name | string | Worker full name |
| gender | string | Worker gender |
| nationalIns | string | National Insurance number |
| passportNo | string | Passport number |
| nationality | string | Nationality |
| dob | string | Date of birth in ISO 8601 date-time format |
| phone | object | Show child attributes
|
| string | Worker email | |
| address | object | Show child attributes
|
| agencies | array[object] | Show child attributes
|
| trades | array[object] | Show child attributes
|
| attachments | array[object] | Show child attributes
|
| rightToWork | array[object] | Show child attributes
|
| createdAt | string | Creation timestamp in ISO 8601 date-time format |
| updatedAt | string | Last update timestamp in ISO 8601 date-time format |
Response Example (200)
{
"success": true,
"data": {
"id": "67bc36db80a1616ec3f48999",
"reference": "WK-1001",
"firstName": "Jordan",
"lastName": "Smith",
"name": "Jordan Smith",
"gender": "male",
"nationalIns": "AB123456C",
"passportNo": "P1234567",
"nationality": "British",
"dob": "1990-01-01T00:00:00.000Z",
"phone": {
"countryCode": "+44",
"number": "1234567890"
},
"email": "jordan@example.com",
"address": {
"lineOne": "1 Main Street",
"city": "Manchester",
"country": "United Kingdom",
"code": "M1 1AA"
},
"agencies": [
{
"id": "67bc36db80a1616ec3f47101",
"name": "Northline Labour Desk",
"agencyId": "AG-1001",
"active": true
}
],
"trades": [
{
"id": "67bc36db80a1616ec3f47102",
"name": "Electrician"
}
],
"attachments": [
{
"id": "67bc36db80a1616ec3f48a10",
"type": "attachment",
"documentType": "CSCS Card",
"documentNumber": "CSCS-123",
"expiration": "2027-01-01T00:00:00.000Z",
"indefinite": false,
"createdAt": "2026-02-01T09:00:00.000Z",
"files": [
{
"fileName": "cscs-front.jpg",
"url": "https://files.requidex.com/cscs-front.jpg",
"docType": "Front"
}
],
"verification": {
"verified": true,
"cardTypeName": "Gold Skilled Worker",
"serial": "CSCS-SERIAL-1",
"customerName": "Jordan Smith",
"documentNumber": "CSCS-123",
"photoType": "image/jpeg",
"expiry": "2027-01-01",
"occupationQualifications": [
{
"qual": "Electrician"
}
],
"lastVerifiedAt": "2026-02-02T12:00:00.000Z"
},
"systemValidation": {
"status": "validated",
"checkedAt": "2026-02-02T12:00:00.000Z",
"documentType": "CSCS Card",
"reason": null
},
"validations": [
{
"id": "67bc36db80a1616ec3f48b01",
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"competency": {
"id": "67bc36db80a1616ec3f47234",
"name": "CSCS"
},
"user": {
"id": "67bc36db80a1616ec3f49998",
"name": "Alex Carter"
},
"validationType": "manual",
"status": "validated",
"resolvedAt": "2026-02-05T12:00:00.000Z",
"documentType": "attachment",
"documentRef": "67bc36db80a1616ec3f48a10",
"statusHistory": [
{
"status": "validated",
"changedAt": "2026-02-05T12:00:00.000Z",
"changedBy": {
"id": "67bc36db80a1616ec3f49998",
"name": "Alex Carter"
}
}
],
"createdAt": "2026-02-05T12:00:00.000Z",
"updatedAt": "2026-02-05T12:00:00.000Z"
}
]
}
],
"rightToWork": [
{
"id": "67bc36db80a1616ec3f48a11",
"type": "rightToWork",
"documentType": "Passport",
"documentNumber": "P1234567",
"expiration": "2028-01-01T00:00:00.000Z",
"indefinite": false,
"createdAt": "2026-02-03T09:00:00.000Z",
"files": [
{
"fileName": "passport-front.jpg",
"url": "https://files.requidex.com/passport-front.jpg",
"docType": "Front"
}
],
"systemValidation": {
"status": "validated",
"checkedAt": "2026-02-04T12:00:00.000Z",
"documentType": "Passport",
"reason": null
}
}
],
"createdAt": "2026-01-15T10:00:00.000Z",
"updatedAt": "2026-02-10T14:00:00.000Z"
}
}
Errors
| HTTP Status | Description |
|---|---|
| 400 | Missing worker id |
| 401 | Missing, invalid, revoked, or expired API key |
| 404 | Worker not found |
| 405 | Method not allowed on Open API routes |
| 429 | Rate limit exceeded |
| 500 | Unexpected internal error |