Skip to content

Verification

For developers

Every card carries a verification code, as a QR code and as printed text. Anyone holding the code, such as a receptionist, a security guard or another system, can confirm that the card is genuine and still valid, and that the name matches the person presenting it.

GET/cards/verify?code={code}public, no key
Parameter Description
code The verification code, for example 7KQ2-M4XD-9F1B. Case, spaces and hyphens are normalised
Terminal window
curl -sS "https://app.cardoffice.nz/api/v1/cards/verify?code=7KQ2-M4XD-9F1B"
{
"data": {
"status": "active",
"serialNumber": "AC-000123",
"holderName": "Emma Hall",
"organisationName": "Acme Polytechnic",
"issuedAt": "2027-02-03T01:00:00.000Z",
"expiresAt": "2027-12-31",
"validFrom": null,
"valid": true
}
}

Decide on valid, not status. valid is true only when the card is active, the person is active, the person’s start date (validFrom) has been reached, and the expiry date has not passed. A card expiring today is valid until midnight. A deactivated person’s card stops verifying immediately, even though the card record itself is unchanged.

validFrom is the cardholder’s start date, or null when they have none. Before that date the card is not yet valid, so valid is false while status can still be active.

The response holds only what is needed to check someone: the name (the preferred name when one is set), the organisation, the card’s serial number and its dates. It contains no contact details and no photo.

To check a card with an API key, and get back the person’s ID and a one-word reason when the card is not usable, use Identify a card instead.

Status When
400 bad_request No code supplied
404 not_found No card has that code
429 rate_limited More than 120 requests a minute from one IP address

Scanning the QR code on a card or digital ID opens a verification page for people checking a card by hand. As well as the status, it shows the holder’s name and photo, so the checker can compare the face with the person in front of them. A card for someone with no photo, such as a member of a programme that does not ask for photos, shows a large tick or cross and the name instead, to check against another ID. A card whose start date is still ahead says when it becomes valid. The page shows no contact details, and it is hidden from search engines.

Because the code alone opens that page, treat verification codes as you would the card itself: do not publish them or include them in shared exports.

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