---
title: "Get Loyalty Events"
method: GET
path: "/customers/{userId}/loyaltyEvents"
---

# Get Loyalty Events

`GET /customers/{userId}/loyaltyEvents`

Retrieves the details of loyalty events triggered for the customer.

## Path parameters

- `userId` integer, required

## Headers

- `X-CAP-API-OAUTH-TOKEN` string

## Response `200`

200

- object
  - `data` object[]
    - `id` integer
    - `customerId` integer
    - `date` string
    - `eventName` string
    - `orgId` integer
    - `status` string
    - `uniqueId` string
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
