curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/programs/{programId}/earning-rules \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"earning_rule_id": "lern_12cd26a685db3e63d8",
"created_at": "2026-07-29T11:38:14.731Z",
"object": "program_earning_rule"
},
{
"earning_rule_id": "lern_128f48ee44cc4bec34",
"created_at": "2026-06-11T15:57:31.791Z",
"object": "program_earning_rule"
},
{
"earning_rule_id": "lern_128f577bd4d47c8e12",
"created_at": "2026-06-11T15:57:29.977Z",
"object": "program_earning_rule"
}
],
"cursor": {
"next": "lcrserna_131f92cb9e16d68013",
"expires_at": "2026-10-01T12:16:10.809Z"
},
"object": "list"
}List program earning rule assignments
Returns a cursor-paginated list of earning rules assigned to the program.
curl --request GET \
--url https://{cluster}.voucherify.io/v2/loyalties/programs/{programId}/earning-rules \
--header 'X-App-Id: <api-key>' \
--header 'X-App-Token: <api-key>'{
"data": [
{
"earning_rule_id": "lern_12cd26a685db3e63d8",
"created_at": "2026-07-29T11:38:14.731Z",
"object": "program_earning_rule"
},
{
"earning_rule_id": "lern_128f48ee44cc4bec34",
"created_at": "2026-06-11T15:57:31.791Z",
"object": "program_earning_rule"
},
{
"earning_rule_id": "lern_128f577bd4d47c8e12",
"created_at": "2026-06-11T15:57:29.977Z",
"object": "program_earning_rule"
}
],
"cursor": {
"next": "lcrserna_131f92cb9e16d68013",
"expires_at": "2026-10-01T12:16:10.809Z"
},
"object": "list"
}Authorizations
Path Parameters
Identifies the loyalty program. Format lprg_[a-f0-9]+.
^lprg_[a-f0-9]+$Query Parameters
Limits the page size to an integer from 1 to 100. Defaults to 10. A numeric string is accepted and rounded to the nearest integer.
1 <= x <= 100Orders the results. Accepts one value or an array. Prefix a field with - for descending order. Defaults to -created_at. The same field cannot be used in both directions. Rows with the same sort value are then ordered by id ascending.
-created_at, created_at Continues pagination. Pass the cursor.next value from a previous response. Format lcrserna_[a-f0-9]+. The cursor matches the filters and order of that response.
^lcrserna_[a-f0-9]+$Response
Paginated list of earning rule assignments.
Response body schema for GET /v2/loyalties/programs/{programId}/earning-rules.

