Skip to content

Manage workers, devices, badges and impersonation

Field workers have no accounts in the usual sense: an administrator (or your application, through the API) creates them, sets a PIN, and says which applications they may sign in to. This guide covers the day-to-day administration. Concepts are in Field-worker identity; the device and app side is in Enrol a device and sign in.

Three console pages hold everything, under the Identity & Access group of the navigation: Field Workers, Field Devices and Field Policy. Each starts with a client selector; pick the client first. The API lives under /api/field-workers, /api/field-devices and /api/field-policies.

Permission Allows
platform:iam:field-worker:view List and read workers, badges (never the token) and sign-in history. Shows Field Workers.
platform:iam:field-worker:manage Create, edit, delete, suspend, activate, unlock, reset PINs, grant and revoke applications, issue and revoke badges, link to a platform user. Implies view.
platform:iam:field-worker:impersonate Mark a worker as able to act as others (canImpersonate), and create console sign-in codes for real workers.
platform:iam:field-device:view List and read devices, enrolment, and the client’s field policy. Shows Field Devices and Field Policy.
platform:iam:field-device:manage Create enrolment codes, suspend, activate and revoke devices, change the policy.
platform:iam:field-token:introspect The online token check, for your application’s service account. Not part of the role below.
platform:iam:field-policy:lock Lock policy members against application overrides. Held only by platform:admin (and platform:super-admin). Not part of the role below.

The role platform:field-administrator holds the first five. It can be delegated to a client’s own administrator, so a client runs its own workforce. Permission alone is not enough: every route also needs access to the target client, and a worker or device of a client you cannot reach is a 404. An application-confined service account sees only workers and devices that share one of its applications, and cannot change the client’s policy (it changes its own application’s override instead).

In Field Workers, choose the client and press New Field Worker. The form asks for:

Field Notes
Worker code Optional. Leave it empty and the platform generates one (see below). Or enter your own (an employee or badge number): unique within the client, stored upper case, up to 64 characters. It cannot change later. Entering an existing code only adds the selected applications.
Name Required.
Email, Phone Optional contact details.
Applications The applications the worker may sign in to. Only active applications you can grant are listed.
Test identity For application QA. Its tokens carry test: true and a console sign-in code for it needs only the manage permission. Applies only when the code is new.
May act as other workers Makes a supervisor. Shown only to someone with the impersonate permission.

Creating a worker does not give them a PIN, so they cannot sign in yet. Use Reset PIN next.

The API call is an idempotent “ensure” on the client and worker code:

POST /api/field-workers
{ "clientId": "clt_...", "workerCode": "W001", "name": "Ann Mokoena", "appCodes": ["yard-gate"] }

Leave workerCode out (or blank) and the platform draws one and returns it in the response’s workerCode: three letters from BCDFGHJKMNPQRSTVWXZ (no I, O, L and no vowels, so a code never spells a word) followed by digits from 2 to 9, for example KTM482. The client’s policy workerCodeDigits sets how many digits (3 to 6, default 3); a change applies to codes generated afterwards and never alters an existing one. A drawn code that is already held is drawn again, at most 10 times, then the call answers 409 WORKER_CODES_EXHAUSTED: raise workerCodeDigits, or give a code. The field-worker:created event carries workerCodeGenerated: true.

A request with a code is safe to repeat, because the code is the key. A request without a code creates a new worker every time, so an integration that may retry sends an idempotencyKey (up to 100 characters, unique within the client): a repeat with the same key answers the worker the first request made (200, created: false). A key together with a workerCode is 400 IDEMPOTENCY_KEY_WITH_WORKER_CODE.

POST /api/field-workers
{ "clientId": "clt_...", "idempotencyKey": "hr-import-2026-12-02-0017", "name": "Ben Dlamini", "appCodes": ["yard-gate"] }

It answers 201 with created: true for a new worker and 200 with created: false for an existing one, whose fields (and PIN) are not overwritten; only the appCodes are added. That makes it safe for an application to call on every sync. An application-confined service account must name its own application in appCodes. A supplied pin must pass the client’s policy and is stored as a temporary one (pinChangeRequired: true).

If the platform has no application key configured (FLOWCATALYST_APP_KEY), anything that hashes a PIN answers 503 FIELD_IDENTITY_UNCONFIGURED: the field plane never hashes without its pepper.

The list shows Worker, Name, Status, Lock, Apps, Last sign-in and Created, and flags test identities (TEST) and supervisors (SUPERVISOR). Filters: Status (Active or Suspended), Identity (test identities or real workers) and Application. Open a worker (View details) for the drawer:

  • Details: code, name, email, phone, status, lock state, whether a PIN is set, failed attempts, last sign-in.
  • Applications: the grants, each removable with the cross; Grant application adds one.
  • Actions: Suspend or Activate, Unlock (only while locked), Reset PIN, Delete.
  • Sign-in history: every attempt, newest first, with time, method, actor, device, application and outcome. This is where the reason for a NO_APP_ACCESS shows up.
  • Linked platform user and Badge sections, and Sign in as this worker for those who may.
Action Effect
Reset PIN… Sets a new temporary PIN, shown once in a dialog with a copy button, and ends every session of the worker. The worker must change it at next sign-in. The PIN is recorded nowhere readable, not in events or audit. It is also the fix for a worker who gets PIN_RESET_REQUIRED at sign-in after the platform’s app key was rotated and the old key removed.
Unlock… Clears the soft and hard locks and the failed-attempt counter. The PIN is unchanged.
Suspend… The worker cannot sign in and all their sessions end (their next refresh fails). Activate… reverses it; the current PIN works again.
Edit… Name, email, phone, and the test and supervisor flags. Clearing the supervisor flag ends sessions the worker holds as an actor.
Delete… Ends their sessions and removes the worker and their badges. Cannot be undone.
Grant application / cross on an application Grants or removes access. Removing ends the worker’s sessions in that application.

API equivalents: PUT /api/field-workers/{id} (name, email, phone), POST .../pin-reset (optionally { "pin": "..." }; with none the platform generates a policy-valid one and returns it once as temporaryPin), POST .../unlock, POST .../suspend, POST .../activate, POST .../apps with { "appCode": "..." }, DELETE .../apps/{appCode}, DELETE .../{id}, and GET .../sign-ins. Searching is GET /api/field-workers?clientId=...&q=...&appCode=...&status=... (q is a case-insensitive prefix of name or code).

The client’s policy sets the thresholds. By default five failures since the last success cause a 15-minute soft lock (shown as “Soft locked” with the time) and ten cause a hard lock (shown as “Hard locked”) that only Unlock or Reset PIN clears. Devices and clients also have hourly failure budgets against PIN spraying; when one is spent a throttle event (platform:iam:field-device:throttled) is emitted.

PINs are digits only, 4 to 12 long (six by default), and may not be all one digit, a straight run (123456, 890123, 654321), on the short common list, or the worker’s own code.

A badge is a printed QR code that stands for a worker. In the drawer’s Badge section:

  • Issue badge shows a card to print. The token (FWB1 plus 26 characters) is shown once and only its hash is stored, so reprinting means issuing a new one.
  • Reissue badge issues a new one and cancels the current one at once. A worker has one active badge.
  • Revoke badge stops it signing in immediately. The worker can still use their PIN.

To print a sheet, tick workers in the list and press Print badges; this issues a badge for each (all or nothing) and opens printable cards. Through the API: POST /api/field-workers/{id}/badges returns { badge, token }; POST /api/field-workers/badges takes up to 200 worker ids; GET .../badges lists them without tokens; POST .../badges/{badgeId}/revoke.

By default a badge identifies the worker but the PIN is still required. Turn on Badge-only sign-in in the policy to drop the PIN, and then only on an enrolled device. A photocopied badge must not work from an arbitrary phone.

Enrolment is optional (see Enrol a device). In Field Devices, choose the client:

  • Enrol Device creates a single-use enrolment code and QR for the chosen mode (Personal or Shared), applications, optional assigned worker (personal only; a shared code with a worker is refused) and label. It is valid 10 minutes and shown once. API: POST /api/field-devices/enrolment-codes { clientId, mode, appCodes[], assignedWorkerId?, label? } returns { code, qrPayload, expiresAt }.
  • The list shows Device, Mode, Attestation, Status, Worker, Apps, Last seen and Sessions; filter by Status (Active, Suspended, Revoked) and Mode.
  • Suspend… ends the device’s sessions and refuses sign-ins on it until Activate….
  • Revoke permanently… is terminal. Every session ends and the device must be enrolled again with a new code. Revoking twice is a no-op; suspending or activating a revoked device is a conflict.

A device that is not enrolled has no row here. It cannot be suspended or revoked; suspend the worker, or turn on Require an enrolled device.

Field Policy shows the client’s effective rules. A client with none of its own shows the tag Default and uses the platform defaults; saving creates a policy (Custom). Changing it needs platform:iam:field-device:manage.

Section Setting Default Range
PIN and lock-out Minimum PIN length 6 4 to 12 (below 6 the hard-lock threshold is at most 5)
Soft lock after 5 failed attempts 1 to 20
Soft lock lasts 900 s 30 to 86400
Hard lock after 10 failed attempts soft threshold to 50
Sessions Shared device idle timeout 900 s 60 to 86400
Personal device idle timeout 7200 s 60 to 86400
Maximum shift length 50400 s (14 h) 3600 to 86400 (a shared session is also capped at 12 h)
PIN re-entry with an unlock key on a personal device 0 (never) 0 to 90 days; 0 forces no periodic PIN. A policy saved before 2026-11-26 keeps its stored value (7 by default then) until it is changed.
Idle timeout when the device is not enrolled 900 s 60 to 86400 (such a session also ends after 12 h)
Longest session signed in as another worker 14400 s (4 h) 300 to 43200
Devices Require device attestation off Refuse devices that cannot prove a hardware-backed key. The platform cannot verify attestation yet, so leave this off.
Sign-in options Require an enrolled device off On: only enrolled devices sign in; anything else is refused as an unknown device.
Badge-only sign-in off Badge without PIN, on enrolled devices only.
Unlock keys off Let workers on personal enrolled devices register a key and sign in again with a fingerprint or face. See Unlock keys.
Unlock key attestation None NONE or REQUIRED: whether a key must carry a trusted Android hardware attestation. REQUIRED needs the platform operator to configure FC_FIELD_ATTESTATION_ROOTS, and iOS cannot meet it.
Workers Worker code digits 3 3 to 6: the digits of a generated worker code.
Photos Photos on Off hides every photo of the client and refuses new ones; the stored photos are kept.
Workers may set their own photo off Lets a signed-in worker set and remove their own photo from the device.

API: GET and PUT /api/field-policies/{clientId}. A PUT takes the same fields; numeric ones are optional and default, and an out-of-range value is 400 POLICY_INVALID (with details.field naming the member). GET also returns isDefault and lockedMembers.

A PUT replaces the whole policy. A member you leave out goes back to its default, so a call that sends only { "requireAttestation": true } also switches unlock keys off (which revokes every key of the client) and photos back on. Read the policy, change what you mean to, and send it all back. The SDKs have a helper that does this: update(clientId, change) in the TypeScript, Java and PHP admin clients (and the Go client’s Update). A PUT leaves application overrides and locks alone.

A worker can have a photograph. In the worker drawer the thumbnail (or initials) shows with Change photo and Remove photo; the worker list shows a small avatar. Through the API, under /api/field-workers/{id}/photo:

Call Effect
PUT Sets or replaces the photo. The body is the raw image (image/jpeg, image/png, image/webp or application/octet-stream). Answers the worker.
DELETE Removes it; removing a missing photo is a no-op.
GET ?size=thumb|full The JPEG (thumb, 128 px, by default, or full, 512 px). 404 PHOTO_NOT_FOUND when there is none; 304 for a matching If-None-Match.

Setting and removing need platform:iam:field-worker:manage; reading needs view or manage, with access to the worker’s client. The photo is never a URL in the worker JSON (photo is {version, updatedAt} or null), so an application proxies the image to its own pages and decides itself who may see whom.

  • Limits. The platform decides the type from the bytes and re-encodes it: JPEG, PNG or WebP only (HEIC, GIF, SVG, BMP and TIFF are refused); at most 10 MiB, 25 million pixels and 10 000 px on a side by default (FC_FIELD_PHOTO_MAX_BYTES, FC_FIELD_PHOTO_MAX_PIXELS). The result is two JPEG renditions, 512 px and 128 px, never cropped or enlarged, with the EXIF data (including any GPS position) and every other byte of the upload dropped. Refusals are 413 PHOTO_TOO_LARGE, 415 PHOTO_UNSUPPORTED_TYPE, 400 PHOTO_UNREADABLE, PHOTO_TYPE_MISMATCH, PHOTO_EMPTY and PHOTO_DIMENSIONS_TOO_LARGE, and 503 PHOTO_BUSY when the platform is busy decoding other uploads (two at a time per process by default).
  • On by default. The policy’s photosEnabled is true. With it off, setting is 409 PHOTOS_DISABLED_FOR_CLIENT and reads answer as if there were no photo, but the stored photos are kept and return when it is switched on. A platform operator can switch photos off for every client with FC_FIELD_PHOTOS=off (404 PHOTOS_DISABLED).
  • Deleting is a separate action. Delete all photos in the Field Policy page (a red button that says how many will go and that it cannot be undone), or DELETE /api/field-policies/{clientId}/photos (answers { "removed": n }; it needs platform:iam:field-worker:manage and is refused to an application-confined service account). Deleting a worker deletes their photo.
  • The worker’s own photo. Only with workerMaySetOwnPhoto on. The worker then sets and removes it from the device library (setPhoto, removePhoto); an impersonating session can read but not change it. Each worker may read 120 and change 20 times an hour by default (FC_FIELD_PHOTO_READS_PER_HOUR, FC_FIELD_PHOTO_WRITES_PER_HOUR).

No event or audit row ever holds image bytes. Events: field-worker:photo-set, field-worker:photo-removed and field-policy:photos-deleted.

When the policy has Unlock keys on, a worker on a personal enrolled device can register a key after a PIN sign-in and sign in again with a fingerprint or face (see Field-worker identity). The administrator sees and controls them:

  • The worker drawer lists the worker’s keys, live and revoked (revoked ones are removed after 30 days), with the device, when each was last used, the attestation result and how many sessions each signed in. Revoke ends a live key and the sessions it signed in; End sessions ends the sessions a revoked key left. The device drawer shows the device’s live key.
  • The API: GET /api/field-workers/{id}/unlock-keys and POST /api/field-workers/{id}/unlock-keys/{unlockKeyId}/revoke. Reading needs platform:iam:field-worker:view, revoking needs manage. A key’s public half and thumbprint are never returned.
  • Switching Unlock keys off in the policy revokes every live key of the client and ends the sessions they signed in, in the same change, unless an application’s override keeps unlock keys on (see below). Setting unlock key attestation to REQUIRED revokes the keys that did not meet it.
  • Keys also end by themselves when the worker’s PIN is reset, the worker is suspended, locked hard or deleted, or the device is revoked. A worker who then signs in with the PIN can register a new key.

Events: field-unlock-key:registered and field-unlock-key:revoked (with a reason such as ADMIN, DEVICE, PIN_RESET, POLICY_DISABLED). Sign-in history shows each unlock with method UNLOCK_KEY.

The policy above is the client’s. An application can override eight of its members for itself: unlockKeysEnabled, requireEnrolledDevice, badgeOnlyLogin, photosEnabled and the limits sharedIdleSecs, personalIdleSecs, shiftMaxSecs and unenrolledIdleSecs (the client-wide ranges apply). For these, the client’s value is a default, not a ceiling: an override may loosen as well as tighten. Nothing else can be overridden, so a member such as the PIN length or impersonationMaxSecs is refused as POLICY_INVALID.

The effective policy of a session is the platform default, overlaid by the client’s policy, overlaid by the override of the session’s application. An override applies only when the application is active, enabled for the client, and the worker holds it; otherwise the client’s policy decides, and that is decided before any credential is checked, so an override never changes what can be learnt about a worker who does not hold the application.

In the Field Policy page, Application overrides lists each application’s override. A form sets one member to on, off, a number of seconds, or follow the client. Clear override removes all of an application’s overrides. An override of an application that is not active and enabled for the client is marked “not applied”.

Who May
The application’s own service account Set its own application’s override, only for clients it is active and enabled for. It may only tighten requireEnrolledDevice (set it to true), badgeOnlyLogin and photosEnabled (set them to false), and clear one of those only when clearing does not loosen what is in force; otherwise 403 POLICY_LOOSENING_FORBIDDEN names the members, and the whole call is refused. It may set unlockKeysEnabled and the four limits either way.
A client administrator Set any application’s override for their client, in either direction.
A platform administrator The same, and the locks.

Needs platform:iam:field-worker:manage or platform:iam:field-device:manage. API, under /api/field-policies/{clientId}:

Call Effect
GET /applications The overrides the caller may see.
GET /applications/{appCode} One application’s members, each with its effective value, source (DEFAULT, CLIENT or APPLICATION), locked, override (null follows the client) and overruled.
PATCH /applications/{appCode} { "set": { "badgeOnlyLogin": true }, "clear": ["photosEnabled"] }. A member in both is refused.
DELETE /applications/{appCode} Clears every member.
PUT /locks { "lockedMembers": ["badgeOnlyLogin"] }. Needs platform:iam:field-policy:lock.

Locks. A client that wants one rule everywhere has a platform administrator lock the member. An application cannot set a locked member (409 POLICY_MEMBER_LOCKED) and may clear it; an existing override of a newly locked member is kept, stops applying (shown as overruled), and applies again if the lock is lifted. The client-wide policy PUT never changes locks. Locking unlockKeysEnabled over an application’s “on” override, when the client has it off, revokes the client’s keys if no other application keeps them on; the console asks for confirmation first.

Switching unlock keys off client-wide while an application’s override keeps them on leaves the keys in place and ends only the other applications’ key-signed sessions. Events: field-policy:application-overridden and field-policy:locks-changed.

Three ways let someone act as a worker. In each the token’s subject stays the worker and an act claim names who is really acting, so applications can record “done by X as worker Y”.

  1. A supervisor on a device. Mark the worker May act as other workers (needs the impersonate permission, also to change it). On a device they enter their own PIN again to take over for a worker of the same client. Supervisors cannot act as supervisors, and it does not nest.
  2. An administrator from the console. In the worker drawer, Sign in as… (requires platform:iam:field-worker:impersonate) asks for the application and makes a single-use code (FWS1 plus 26 characters), valid 10 minutes and shown once. Enter it on any device with redeemSignInCode. The worker must be active and granted that application, and the sign-in is audited under your name. API: POST /api/field-workers/{id}/sign-in-codes { "appCode": "..." }.
  3. Test identities. A worker marked as a test identity carries test: true. A code for it needs only the manage permission and may be created by a service account, so automated QA can sign in without a PIN. For a real worker the caller must be a human (403 PRINCIPAL_NOT_HUMAN otherwise).

Impersonated sessions have their own cap (the policy’s longest-session setting), never outlive the actor’s own session, and are revoked if the actor is suspended or loses the flag. Every impersonated sign-in is in the worker’s sign-in history, with method ACT_AS or SIGN_IN_CODE and the actor.

A dispatcher who also drives is two identities. In the drawer’s Linked platform user section press Link platform user and enter the user’s email (a person, not a service account, who is active and can access the client). The link is for audit correlation only (linked_principal_id): it grants nothing on either side. A user can be linked to at most one worker per client, but to workers in several clients. API: PUT /api/field-workers/{id}/link { "principalId": "prn_..." } and DELETE on the same path.

Everything above emits platform events your application can subscribe to, all under platform:iam:: field-worker:created | ensured | updated | deleted | suspended | activated | pin-reset | pin-changed | unlocked | app-granted | app-revoked | badge-issued | badge-revoked | impersonated | sign-in-code-created | linked | unlinked | photo-set | photo-removed, field-device:enrolment-code-created | enrolled | suspended | activated | revoked | throttled, field-session:revoked, field-unlock-key:registered | revoked and field-policy:updated | photos-deleted | application-overridden | locks-changed. Payloads never carry a PIN, code, badge token, image or key material. To react to revocations in your application see Verify field tokens in your backend.