Skip to content

Cards

For developers

An issued card is one credential a person has held, printed, digital or both. A person has many cards over time, and revoked and replaced cards stay as history.

Field Notes
id uuid
cardHolderId uuid of the holder
serialNumber The number on the card
verificationCode The code behind the card’s QR code. Anyone holding it can check the card, so treat it like the card itself. See Verification
status active, lost, stolen, damaged, revoked or expired. See Card statuses
issuedAt, expiresAt When issued, and the date the card stops being valid
revokedAt, revocationReason Set when revoked
createdAt
GET/cardsscope: cards:read
Query parameter Description
page, pageSize Pagination. pageSize maximum 200
status Filter by card status
cardHolderId Only this person’s cards. Use it after a card_holder.status_changed webhook to find every credential the person holds

Newest first.

Terminal window
curl -sS "$CARDOFFICE_API/cards?status=active&pageSize=100" \
-H "Authorization: Bearer $CARDOFFICE_KEY"
{
"data": [
{
"id": "c2a4f0f6-1f1b-4b0a-9d7c-0d1b6e5e4a21",
"cardHolderId": "0b5e4c1a-6a53-4d3b-9d45-3f6f6b2c9a10",
"serialNumber": "AC-000123",
"verificationCode": "7KQ2-M4XD-9F1B",
"status": "active",
"issuedAt": "2027-02-03T01:00:00.000Z",
"expiresAt": "2027-12-31",
"revokedAt": null,
"revocationReason": null,
"createdAt": "2027-02-03T00:58:12.000Z"
}
],
"meta": { "page": 1, "pageSize": 100, "total": 1 }
}
GET/cards/{id}scope: cards:read

Returns one card with the fields above, plus the holder’s externalId and holderStatus, its format (physical, digital or both), issueNumber and updatedAt. Use it to read a card back after a card.issued or card.revoked webhook, before acting on it. Returns 404 for a card that is not in your organisation.

To follow changes as they happen, such as revocations, subscribe to the card.revoked webhook, or poll the cursor form of this endpoint described in Sync feeds.

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