Compliance & Sign-offs
Capture digital sign-offs on completed work orders and download maintenance completion certificates. All endpoints are authenticated with a Bearer JWT (see Authentication) and need the Work Orders page. A member limited to some machines gets 404 for work orders on other machines.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /api/v1/work-orders/{work_order_id}/signoffs | Digitally sign a completed work order |
POST | /api/v1/work-orders/{work_order_id}/signoffs/sso-reauth | Confirm a single sign-on account's identity with its provider, to sign |
GET | /api/v1/work-orders/{work_order_id}/signoffs | List sign-offs for a work order |
GET | /api/v1/work-orders/{work_order_id}/signoffs/{signoff_id}/verify | Verify a sign-off is unaltered |
GET | /api/v1/work-orders/{work_order_id}/certificate | Download a PDF completion certificate |
See Work Orders for managing the work orders themselves.
Sign off a work order
POST /api/v1/work-orders/{work_order_id}/signoffs
Signing needs an operator or administrator role and cannot be done while a Haltless administrator is impersonating you. It requires re-entering your current password to confirm your identity. The work order must already be in a completed state. Send exactly one of password or, for single sign-on accounts, reauth_code. A successful sign-off returns 201 Created.
{
"password": "your-current-password"
}
Response:
{
"id": "...",
"work_order_id": "...",
"signed_by": "USER_UUID",
"signer_name": "Jane Doe",
"signer_role": "operator",
"signature_hash": "…",
"signed_at": "2026-08-05T15:00:00Z",
"created_at": "2026-08-05T15:00:00Z"
}
Signing with single sign-on
An account that signs in with single sign-on has no Haltless password to re-enter. It confirms its identity with the company's identity provider instead:
POST /api/v1/work-orders/{work_order_id}/signoffs/sso-reauthreturns{"authorization_url": "..."}. Send the browser there. The provider asks the person to sign in again, whatever session they already have (SAMLForceAuthn, OpenID Connectprompt=login).- The browser comes back to the portal's
/work-orders?signoff=<work_order_id>&signoff_reauth=<proof>, or withsignoff_error=1if the provider signed in someone else or did not ask for a fresh sign-in. - Sign with
POST /api/v1/work-orders/{work_order_id}/signoffs, sending the proof in place of the password. It is single-use, valid for 5 minutes, and only for this person and this work order.
{
"reauth_code": "<proof>"
}
sso-reauth returns 400 when the company has no active single sign-on on a verified domain, or the person's address is not on it.
Common error responses:
| Status | Meaning |
|---|---|
403 | The supplied password (or proof) was incorrect, a single sign-on account sent no proof, or a Haltless administrator is impersonating you |
404 | Work order (or sign-off) not found |
422 | Work order is not completed, the work order already has the maximum of 20 sign-offs, or the request has neither or both of password and reauth_code |
429 | Too many failed sign-off attempts. Try again later |
List sign-offs
GET /api/v1/work-orders/{work_order_id}/signoffs
{
"items": [
{ "id": "...", "work_order_id": "...", "signed_by": "USER_UUID", "signer_name": "Jane Doe", "signer_role": "operator", "signature_hash": "…", "signed_at": "2026-08-05T15:00:00Z", "created_at": "2026-08-05T15:00:00Z" }
],
"total": 1
}
Each item has the fields of the sign-off response above.
Verify a sign-off
GET /api/v1/work-orders/{work_order_id}/signoffs/{signoff_id}/verify
Confirms that a sign-off record has not been altered since it was created.
{
"signoff_id": "...",
"is_valid": true,
"detail": "Signature is valid."
}
Download a certificate
GET /api/v1/work-orders/{work_order_id}/certificate
Returns a PDF maintenance completion certificate for a completed work order, with its sign-offs listed (Content-Type: application/pdf). A work order that is not completed returns 422; an unknown one returns 404.
curl -L https://api.haltless.io/api/v1/work-orders/WORK_ORDER_ID/certificate \
-H "Authorization: Bearer YOUR_TOKEN" \
-o certificate.pdf