Induction registrations

List the induction register

Lists the induction register across projects, most-recent-first, paginated. Each entry carries the project it is on. Filter with `projectId` (repeatable), `from` / `to` (the day signed, in the business's timezone), `role` and `whiteCard`. Naming exactly one `projectId` reads that project's register: a project that isn't visible is a `404`.

GET
/induction-registrations

Lists the induction register across projects, most-recent-first, paginated. Each entry carries the project it is on. Filter with projectId (repeatable), from / to (the day signed, in the business's timezone), role and whiteCard. Naming exactly one projectId reads that project's register: a project that isn't visible is a 404.

Authorization

x-api-key<token>

The per-tenant API key, copied from Settings → API & integrations. Sent as the x-api-key request header. The key is tenant-scoped and acts with Admin-equivalent, tenant-wide access.

In: header

Query Parameters

limit?integer

Page size, 1–200. Defaults to 50.

cursor?string

Opaque cursor from a previous page's nextCursor. Omit for the first page.

projectId?array<>

Only this project's register. Repeat it for several projects; omit it for every project.

from?string

Inclusive first day signed, yyyy-mm-dd (the business's timezone).

to?string

Inclusive last day signed, yyyy-mm-dd (the business's timezone).

role?string

Only workers, or only visitors.

whiteCard?string

missing for workers who don't have a White Card yet, has for workers who gave one.

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/induction-registrations"
{  "data": [    {      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "projectName": "string",      "projectArchived": true,      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "company": "string",      "phone": "string",      "signedAt": "2019-08-24T14:15:22Z",      "role": "worker",      "noWhiteCard": true,      "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"    }  ],  "nextCursor": "string"}
{  "error": {    "code": "unauthorized",    "message": "Missing or invalid API key."  }}
{  "error": {    "code": "validation",    "message": "One or more inputs are invalid.",    "fields": {      "fieldName": "A message explaining what's wrong with this field."    }  }}