Skip to content

Event reference

Every event uses the same envelope (event, createdAt, companyId, data). This page lists the data for each.

A person was added in the portal, by SCIM, or by directory sync.

{ "id": "0b5e4c1a-…", "externalId": "S1024", "firstName": "Emma", "lastName": "Hall" }

SCIM and directory-sync creations send { "id": "…", "via": "scim" } style data instead of the name fields.

A person was changed in the portal, by SCIM, or by directory sync. Data is { "id": "…", "changes": { … } } for portal edits.

Staff approved or rejected a photo.

{ "photoId": "5d1f0a52-…", "cardHolderId": "0b5e4c1a-…", "reason": null }

reason carries the rejection reason for photo.rejected.

An order was submitted, from the portal or by PATCH /orders/{id}.

{ "orderId": "a3e8e6f0-…", "orderNumber": "ACME-2027-0412", "cardCount": 40, "fulfilment": "self" }

An order’s status changed.

{ "orderId": "a3e8e6f0-…", "orderNumber": "ACME-2027-0412", "from": "submitted", "to": "in_production" }

A bureau order left in a parcel.

{
"orderId": "a3e8e6f0-…", "orderNumber": "ACME-2027-0412",
"shipmentNumber": "SHP-0091", "carrier": "NZ Couriers",
"trackingNumber": "NZC123456", "trackingUrl": "https://…"
}

A bureau order was delivered and closed. Data is orderId, orderNumber and shipmentNumber.

{
"shipmentId": "…", "shipmentNumber": "SHP-0091", "carrier": "NZ Couriers",
"trackingNumber": "NZC123456", "trackingUrl": "https://…",
"orderIds": ["a3e8e6f0-…"]
}
{ "invoiceId": "…", "invoiceNumber": "INV-2027-0033", "totalAmount": "1148.00", "currency": "NZD" }

Invoices raised for shipments also carry orderIds and shipmentIds.

A card or digital credential was issued.

{ "cardId": "c2a4f0f6-…", "serialNumber": "AC-000123", "cardHolderId": "0b5e4c1a-…", "orderId": "a3e8e6f0-…" }

Digital-only issuance sends format: "digital" and a reason instead of orderId.

A card was reported lost, stolen or damaged, or revoked.

{ "cardId": "c2a4f0f6-…", "serialNumber": "AC-000123", "status": "lost", "reason": "Reported lost" }

photo.uploaded and import.completed can be subscribed to but are not sent at present. Do not build on them yet.

© 2026 Secure ID Ltd. All rights reserved.Documentation licence and terms