Skip to main content
GET
List card templates

Authorizations

Authorization
string
header
required

Your secret API key as a Bearer token: Authorization: Bearer vxn_sk_.... Keys are created and scoped in the dashboard - see Authentication.

Headers

Accept-Language
enum<string>
default:sk

Preferred language for error messages and localized fields. One of sk, cs, en, de. Defaults to card's default_language.

Available options:
sk,
cs,
en,
de

Query Parameters

type
enum<string>

Filter by card family (stamp, reward, discount, coupon, membership, gift_card, custom).

Available options:
stamp,
reward,
discount,
coupon,
membership,
gift_card,
custom
status
enum<string>

Lifecycle filter. Omitted returns every card EXCEPT archived (draft, active and paused), matching the dashboard catalog. Pass an explicit value to narrow to exactly that state; archived is the only way to see retired templates.

Available options:
draft,
active,
paused,
archived
external_id
string

Exact match on your stable reference for the card template. Returns every card template carrying this exact reference. Not unique, so more than one row is possible.

location_id
string

Cards enabled at this location (via Location.enabled_card_ids).

limit
integer
default:25

Number of cards to return per page (1-100). Default 25.

Required range: 1 <= x <= 100
created[gte]

Return cards created on or after this Unix timestamp.

created[lte]

Return cards created on or before this Unix timestamp.

starting_after
string

Cursor for forward pagination - the id of the last card on the previous page. Numeric offset or page parameters are not supported; cursors are the only supported paging mechanism.

Pattern: ^crd_[A-Za-z0-9]+$
ending_before
string

Cursor for backward pagination - the id of the first card on the next page.

Pattern: ^crd_[A-Za-z0-9]+$

Response

Paginated card list.

Cursor-paginated list of Card templates returned by GET /v1/cards.

object
enum<string>
required

Always 'list'. Type discriminator.

Available options:
list
data
object[]
required

Array of Card objects on this page. Up to limit items (default 25, max 100).

has_more
boolean
required

True if more results exist beyond this page.

next_cursor
string | null

Cursor for the next page in the direction you are already paging, or null when this page ends the collection. has_more: true always comes with a non-null next_cursor.

Feed it back to the SAME parameter you used: starting_after when paging forward (the default), or ending_before when paging backward. Treat it as opaque and do not parse it.

You no longer need to take the last object's id yourself. That still works and is unchanged, but deriving the cursor from the page put the burden of knowing the sort direction on you, and it broke silently on any endpoint whose cursor is not the object id.

Example:

"cus_iofv5j4hn6bphinmmyat27tc5y"

url
string

Stable collection URL.