Skip to main content
GET
/
v2
/
loyalties
/
programs
/
{programId}
/
activities
Error
A valid request URL is required to generate request examples
{
  "object": "<string>",
  "data": [
    {
      "id": "<string>",
      "program_id": "<string>",
      "data": {},
      "created_at": "2023-11-07T05:31:56Z",
      "group_id": "<string>",
      "source": {
        "user": {
          "id": "<string>"
        },
        "api_key": {
          "name": "<string>",
          "app_id": "<string>",
          "client_app_id": "<string>"
        }
      }
    }
  ],
  "cursor": {
    "next": "<string>",
    "expires_at": "2023-11-07T05:31:56Z"
  }
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}
{
  "code": 123,
  "key": "<string>",
  "message": "<string>",
  "details": "<string>",
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-App-Id
string
header
required
X-App-Token
string
header
required

Path Parameters

id
string
required

Unique program identifier.

Pattern: ^lprg_[a-f0-9]+$

Query Parameters

filters
object | null

Filters for the activity list. Nested object serialized in the query string (e.g. filters[type][conditions][$is]=vl.program.created). Only the condition operators supported by each field type are allowed.

Filters accepted by the program activities list endpoint.

limit
default:10

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

Required range: 1 <= x <= 100
order

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.

Available options:
created_at,
-created_at
cursor
string | null

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

Pattern: ^lcrsapr_[a-f0-9]+$

Response

Paginated list of program activities.

Cursor-paginated list of program activities.

object
string

Object type marker.

Allowed value: "list"
data
object[]

Activities on the current page.

cursor
object | null

Pagination cursor, or null when there are no more results.

Last modified on July 10, 2026