API reference · v1.1.0
CertProof for companies API
Read the trainings, certificates and employees of your company and connect them to your LMS, HR or safety system. JSON over HTTPS, authenticated with an API key.
https://company.certproof.be/api/v1Getting started
- Activate the API. The API is a paid option. Ask Normec Praxis (info-praxis@normecgroup.com) to enable it for your company.
- Create an API key. A company manager signs in to CertProof for companies and opens Settings → API. A key is shown only once — store it in a secrets manager.
- Call the API with the key as a Bearer token:
curl -H "Authorization: Bearer cp_live_…" \ "https://company.certproof.be/api/v1/certificates?status=expiring&limit=100"
All dates are ISO 8601 (YYYY-MM-DD). Each request returns the current data.
Authentication
Send your API key in the Authorization header of every request: Authorization: Bearer cp_live_…. Keys are scoped to one company and give read-only access to its data. Revoke a key at any time under Settings → API; it stops working immediately. Never use the key in a browser or mobile app — the API is meant for server-to-server integrations.
Pagination
List endpoints return { data: [...], next_cursor }. Pass next_cursor as the cursor parameter to fetch the next page, until it is null. Use limit (1–500, default 100) to set the page size. Results are sorted by last name, first name and training.
GET /api/v1/certificates?limit=500 GET /api/v1/certificates?limit=500&cursor=eyJvIjo1MDB9 …until next_cursor is null
Synchronising
Read all pages of /certificates once a day; with limit=500 that is usually 1 to 3 requests. There is no “changed since” filter on purpose: Normec Praxis certificates have no modification date, and the status of a certificate changes every day as dates pass. A full daily read is the only way to never miss a change.
Link certificates to people with person.id: it is the same as id in /employees. Use /certificates?employee_id=… for one person. The id is based on name and date of birth, so it stays the same as long as those do not change. The response of /certificates also contains expiring_days: the number of days your company uses for expiring.
Rate limits
Each key can make 120 requests per minute. Above that the API responds with 429 and a Retry-After header (in seconds).
Errors
Errors use a consistent format:
{
"error": {
"code": "invalid_key",
"message": "Missing or invalid API key."
}
}| HTTP | code | Meaning |
|---|---|---|
| 400 | invalid_request | A query parameter is missing or invalid. The message explains which one. |
| 401 | invalid_key | The API key is missing, malformed, unknown or revoked. |
| 403 | api_disabled | The API is not enabled for this company. Contact Normec Praxis. |
| 404 | not_found | The certificate or file does not exist (for your company). |
| 429 | rate_limited | More than 120 requests in the current minute. Wait for the number of seconds in the Retry-After header. |
| 502 | upstream_error | The certificate data could not be retrieved. Retry later. |
GET/certificates
List certificates
All certificates of your company, from Normec Praxis and external training providers, sorted by last name, first name and training.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
status | query | array of valid | expiring | expired | Filter on status. Repeat or comma-separate for several values. |
expires_within | query | integer (1–3650) | Only certificates that are still valid and expire within this number of days. |
category | query | string | Filter on category slug. |
source | query | normec_praxis | external | Filter on source. |
employee_id | query | string | Only the certificates of one employee (id from /employees or person.id). Add include_left=true for employees who have left. |
include_left | query | boolean = false | Also include employees who have left the company (default: false). |
limit | query | integer = 100 (1–500) | Maximum number of items per page. |
cursor | query | string | Value of next_cursor from the previous page. |
lang | query | nl | fr | en = nl | Language for category names. |
Responses
| Status | Description |
|---|---|
200 | A page of certificates. |
400 | Invalid query parameter. |
401 | Missing or invalid API key. |
403 | The API is not enabled for your company. |
429 | Rate limit exceeded; see the Retry-After header. |
502 | Data could not be retrieved from Normec Praxis; try again later. |
Example response
{
"data": [
{
"id": "p:123456",
"source": "normec_praxis",
"status": "expiring",
"valid_from": "2021-11-15",
"valid_until": "2026-11-15",
"end_date": "2021-11-15",
"person": {
"id": "3f9a1c0b7d2e4f6a8b1c",
"first_name": "Jan",
"last_name": "Peeters",
"birth_date": "1985-04-12",
"employee_number": "4711",
"department": "Logistics",
"job_title": "Warehouse operator",
"left_at": null
},
"training": {
"name": "HEFTRUCK",
"subtitle": "TEGENGEWICHT",
"category": {
"slug": "heftruck-magazijn",
"name": "Heftruck & magazijn"
},
"provider": "Normec Praxis",
"certificate_number": null,
"start_date": "2021-11-15",
"end_date": "2021-11-15",
"language": "nl",
"location": "Neerlandweg 1, 2610 Wilrijk"
},
"pdf_url": "https://company.certproof.be/api/v1/certificates/p%3A123456/pdf"
}
],
"next_cursor": "eyJvIjoxMDB9",
"expiring_days": 90
}GET/certificates/{id}
Get a certificate
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | Certificate id, e.g. p:123456 (URL-encode the colon). |
lang | query | nl | fr | en = nl | Language for category names. |
Responses
| Status | Description |
|---|---|
200 | The certificate. |
400 | Invalid query parameter. |
401 | Missing or invalid API key. |
403 | The API is not enabled for your company. |
404 | Certificate not found. |
429 | Rate limit exceeded; see the Retry-After header. |
502 | Data could not be retrieved from Normec Praxis; try again later. |
Example response
{
"id": "p:123456",
"source": "normec_praxis",
"status": "expiring",
"valid_from": "2021-11-15",
"valid_until": "2026-11-15",
"end_date": "2021-11-15",
"person": {
"id": "3f9a1c0b7d2e4f6a8b1c",
"first_name": "Jan",
"last_name": "Peeters",
"birth_date": "1985-04-12",
"employee_number": "4711",
"department": "Logistics",
"job_title": "Warehouse operator",
"left_at": null
},
"training": {
"name": "HEFTRUCK",
"subtitle": "TEGENGEWICHT",
"category": {
"slug": "heftruck-magazijn",
"name": "Heftruck & magazijn"
},
"provider": "Normec Praxis",
"certificate_number": null,
"start_date": "2021-11-15",
"end_date": "2021-11-15",
"language": "nl",
"location": "Neerlandweg 1, 2610 Wilrijk"
},
"pdf_url": "https://company.certproof.be/api/v1/certificates/p%3A123456/pdf"
}GET/certificates/{id}/pdf
Download the certificate file
Normec Praxis certificates are available in Dutch, French and English. For external trainings the uploaded file is returned (PDF or image), regardless of lang.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | Certificate id, e.g. p:123456 (URL-encode the colon). |
lang | query | nl | fr | en = nl |
Responses
| Status | Description |
|---|---|
200 | The certificate file. |
400 | Invalid query parameter. |
401 | Missing or invalid API key. |
403 | The API is not enabled for your company. |
404 | Certificate or file not found. |
429 | Rate limit exceeded; see the Retry-After header. |
502 | The file could not be retrieved; try again later. |
GET/employees
List employees
Every person with at least one certificate, with the employee details recorded in the portal.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
include_left | query | boolean = false | Also include employees who have left the company (default: false). |
limit | query | integer = 100 (1–500) | Maximum number of items per page. |
cursor | query | string | Value of next_cursor from the previous page. |
Responses
| Status | Description |
|---|---|
200 | A page of employees. |
400 | Invalid query parameter. |
401 | Missing or invalid API key. |
403 | The API is not enabled for your company. |
429 | Rate limit exceeded; see the Retry-After header. |
502 | Data could not be retrieved from Normec Praxis; try again later. |
Example response
{
"data": [
{
"id": "3f9a1c0b7d2e4f6a8b1c",
"first_name": "Jan",
"last_name": "Peeters",
"birth_date": "1985-04-12",
"employee_number": "4711",
"department": "Logistics",
"job_title": "Warehouse operator",
"left_at": null,
"certificates": 4
}
],
"next_cursor": null
}GET/employees/{id}
Get an employee
One employee, also when they have left the company. Use /certificates?employee_id=… for their certificates.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
id | path | string | Certificate id, e.g. p:123456 (URL-encode the colon). |
Responses
| Status | Description |
|---|---|
200 | The employee. |
400 | Invalid query parameter. |
401 | Missing or invalid API key. |
403 | The API is not enabled for your company. |
404 | Employee not found. |
429 | Rate limit exceeded; see the Retry-After header. |
502 | Data could not be retrieved from Normec Praxis; try again later. |
Example response
{
"id": "3f9a1c0b7d2e4f6a8b1c",
"first_name": "Jan",
"last_name": "Peeters",
"birth_date": "1985-04-12",
"employee_number": "4711",
"department": "Logistics",
"job_title": "Warehouse operator",
"left_at": null,
"certificates": 4
}GET/categories
List categories
The training categories. Use slug in the category filter of /certificates.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
lang | query | nl | fr | en = nl | Language for category names. |
Responses
| Status | Description |
|---|---|
200 | All categories. |
400 | Invalid query parameter. |
401 | Missing or invalid API key. |
403 | The API is not enabled for your company. |
429 | Rate limit exceeded; see the Retry-After header. |
502 | Data could not be retrieved from Normec Praxis; try again later. |
Example response
{
"data": [
{
"slug": "heftruck-magazijn",
"name": "Heftruck & magazijn"
},
{
"slug": "vca",
"name": "VCA"
}
]
}Schemas
Certificate
| Field | Type | Description |
|---|---|---|
id | string | Stable identifier. |
source | normec_praxis | external | normec_praxis = training at Normec Praxis; external = added by your company (other training provider). |
status | valid | expiring | expired | valid; expiring = expires within the company's "expiring soon" period; expired. |
valid_from | string | null (date) | Date the certificate was obtained. |
valid_until | string | null (date) | Expiry date; null means unlimited validity. |
end_date | string | null (date) | End date of the training, or valid_from if unknown. |
person | Person | The person the certificate belongs to, with the employee record kept in the portal. |
person.id | string | Employee id, the same as id in /employees. Based on name and date of birth: it stays the same as long as those do not change. |
person.first_name | string | null | First name. |
person.last_name | string | null | Last name. |
person.birth_date | string | null (date) | Date of birth. |
person.employee_number | string | null | Employee number (employee record). |
person.department | string | null | Department (employee record). |
person.job_title | string | null | Job title (employee record). |
person.left_at | string | null (date) | Date the employee left the company; null if still employed. |
training | object | The training the certificate was issued for. |
training.name | string | null | Training / discipline. |
training.subtitle | string | null | Additional description, e.g. the type of machine. |
training.category | object | null | |
training.category.slug | string | |
training.category.name | string | |
training.provider | string | null | Training provider. |
training.certificate_number | string | null | Certificate number (external trainings). |
training.start_date | string | null (date) | Start date of the training. |
training.end_date | string | null (date) | End date of the training. |
training.language | string | null | Language of the training (nl, fr, en, …). |
training.location | string | null | Location of the training. |
pdf_url | string | null (uri) | URL of the certificate file (requires the API key); null if there is no file. |
Employee
| Field | Type | Description |
|---|---|---|
id | string | Employee id, the same as person.id in certificates. Based on name and date of birth: it stays the same as long as those do not change. |
first_name | string | null | First name. |
last_name | string | null | Last name. |
birth_date | string | null (date) | Date of birth. |
employee_number | string | null | Employee number. |
department | string | null | Department. |
job_title | string | null | Job title. |
left_at | string | null (date) | Date the employee left the company; null if still employed. |
certificates | integer | Number of certificates. |
status: expiring means the certificate expires within the company's “expiring soon” period (default 90 days, configurable by the company manager).