Skip to main content
GET
/
v1
/
customers
/
{customerId}
/
activity
List Customer Activity
curl --request GET \
  --url https://{cluster}.voucherify.io/v1/customers/{customerId}/activity \
  --header 'Authorization: Bearer <token>' \
  --header 'X-App-Id: <api-key>' \
  --header 'X-App-Token: <api-key>'
{
  "object": "list",
  "data_ref": "data",
  "data": [
    {
      "id": "evcus_0c150c51730c6b60b1",
      "type": "customer.confirmed",
      "data": {
        "data": {},
        "event_source": {
          "channel": "API",
          "user": {
            "id": "user_xyzfghSTprSTUVWXYlk6tuvXYst7FGH7"
          },
          "api_key": {
            "name": "<string>",
            "app_id": "1XXXX5XX-0XXX-XXXb-X7XX-XX2XXaXXX6XX"
          }
        }
      },
      "created_at": "2022-08-30T09:14:07.660Z",
      "group_id": "v-1f36113948e50fc4ge"
    }
  ],
  "has_more": true,
  "more_starting_after": "<string>"
}

Authorizations

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

Path Parameters

customerId
string
required
Example:

Query Parameters

limit
integer
Required range: 1 <= x <= 100
order
enum<string>
Available options:
created_at,
-created_at
starting_after_id
string
start_date
string<date-time>
Example:
end_date
string<date-time>
Example:
campaign_id
string
Example:
campaign_type
enum<string>
Available options:
PROMOTION,
GIFT_VOUCHERS,
REFERRAL_PROGRAM,
DISCOUNT_COUPONS,
LOYALTY_PROGRAM
category
enum<string>
Available options:
ACTION,
EFFECT
type
enum<string>
Available options:
customer.confirmed,
customer.created,
customer.updated,
customer.deleted,
customer.referred,
customer.custom_event,
customer.segment.entered,
customer.segment.left,
customer.sms.sent,
customer.sms.recovered,
customer.sms.failed,
customer.email.sent,
customer.email.recovered,
customer.email.failed,
customer.activecampaign.sent,
customer.activecampaign.recovered,
customer.activecampaign.failed,
customer.braze.sent,
customer.braze.recovered,
customer.braze.failed,
customer.mailchimp.sent,
customer.mailchimp.recovered,
customer.mailchimp.failed,
customer.intercom.sent,
customer.intercom.recovered,
customer.intercom.failed,
customer.shopify.sent,
customer.shopify.recovered,
customer.shopify.failed,
customer.klaviyo.sent,
customer.klaviyo.recovered,
customer.klaviyo.failed,
customer.batch.sent,
customer.batch.recovered,
customer.batch.failed,
customer.rewarded,
customer.rewarded.loyalty_points,
customer.voucher.gift.balance_added,
customer.voucher.loyalty_card.points_added,
customer.voucher.loyalty_card.points_transferred,
customer.voucher.loyalty_card.points_expired,
customer.voucher.deleted,
customer.publication.succeeded,
customer.publication.failed,
customer.validation.succeeded,
customer.validation.failed,
customer.redemption.failed,
customer.redemption.succeeded,
customer.redemption.rollback.failed,
customer.redemption.rollback.succeeded,
customer.order.canceled,
customer.order.created,
customer.order.fulfilled,
customer.order.paid,
customer.order.processing,
customer.order.updated,
customer.reward_redemptions.created,
customer.reward_redemptions.pending,
customer.reward_redemptions.completed,
customer.reward_redemptions.rolledback,
customer.loyalty.updated,
customer.loyalty.tier.upgraded,
customer.loyalty.tier.downgraded,
customer.loyalty.tier.prolonged,
customer.loyalty.tier.expiration.changed,
customer.loyalty.tier.joined,
customer.loyalty.tier.left

Response

object
enum<string>
default:list
required
Available options:
list
data_ref
string
default:data
required
data
Customer Activity · object[]
required
has_more
boolean
required
more_starting_after
string