List cardholders
/v1/cardholdersRequires an API client bearer token.
Lists cardholders for the authenticated tenant. Newest first; cursor-paginated (pass the last row's id as starting_after). Optionally filtered by a case-insensitive exact-match email, by a case-insensitive substring match on full_name (q), or narrowed to one programme via programme_id. Alternatively, pass ids (comma-separated, 1..100) for a batch-get by id; ids and starting_after are mutually exclusive. A programme-scoped caller (a programme-pinned API client) lists and searches only its own programme's cardholders, and naming another programme is refused with 403.
Parameters
Query parameters
| Name | Required | Description |
|---|---|---|
| optional | ||
| q | optional | |
| programme_id | optional | |
| ids | optional | |
| limit | optional | |
| starting_after | optional |
Example
curl https://api.rigid.fi/v1/cardholders \
-H "Authorization: Bearer $RIGID_API_TOKEN"Responses
200A page of cardholders.
+ show properties− hide properties
The email address on file, or null when there is none.
The country code on file, or null when there is none.
400Validation error
401Authentication required
403Forbidden
500Internal server error