v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01934981.1 MB
Programs

List program card definition assignments

<Warning>

<Badge color="yellow">BETA endpoint</Badge>

This is a work-in-progress documentation of a BETA endpoint. The parameters, fields, request and response bodies, and other data may subject to change. If you want to share feedback or improvements, contact Voucherify support or your Technical Account Manager.

</Warning>

Returns a cursor-paginated list of card definitions assigned to the program.

get/v2/loyalties/programs/{programId}/card-definitions

Path parameters

idstring required

Unique program identifier.

Query parameters

number
OR
string

Maximum number of items to return. Between 1 and 100. Defaults to 10. Non-integer values are rounded.

string[]
OR
'-created_at' | 'created_at'

Sorting order. A single value or an array of values. Prefix with - for descending. Defaults to -created_at. The same field cannot be used in both ascending and descending order at once.

cursorstring nullable

Pagination cursor returned by a previous call (cursor.next).

Response

Paginated list of card definition assignments.

object'list'

Object type marker.