Skip to main content
GET
/
api
/
v4.0
/
integrations
/
customers
/
{customerId}
/
activities
Get Customer Activities
curl --request GET \
  --url https://api.gameball.co/api/v4.0/integrations/customers/{customerId}/activities \
  --header 'apikey: <api-key>'
{
  "activities": [
    {
      "activityId": 123,
      "activityType": "<string>",
      "activityDay": "<string>",
      "activityDate": "<string>",
      "activityTime": "<string>",
      "customerId": "<string>",
      "email": "<string>",
      "phoneNumber": "<string>",
      "displayName": "<string>",
      "transactionId": "<string>",
      "isManualActivity": true,
      "points": 123,
      "score": 123,
      "reason": "<string>",
      "calculatedRedemption": 123,
      "actualRedemption": 123,
      "familyRedemptionAmount": 123,
      "familyRedemptionPoints": 123,
      "paymentRewardAmount": 123,
      "outstandingPoints": 123,
      "rewardThreshold": 123,
      "currency": "<string>",
      "redemptionRewardFactor": 123,
      "campaignName": "<string>",
      "campaignStartDate": "<string>",
      "campaignEndDate": "<string>",
      "campaignEnabled": true,
      "tierName": "<string>",
      "rewardPoints": 123,
      "rewardFactor": 123,
      "isGuest": true,
      "couponUsed": true,
      "couponType": "<string>",
      "couponCode": "<string>",
      "couponGroup": "<string>",
      "couponProduct": "<string>",
      "couponProductId": 123,
      "productVariantName": "<string>"
    }
  ],
  "count": 123,
  "hasMore": true
}
This API retrieves a log of customer activities within Gameball, identified by customerId. The logs detail various actions, such as tier changes, campaign rewards, referrals, redemptions, and more. Specific activity types can be filtered, including events like TierUpgraded, CampaignRewarded, ReferralBonusReward, and PaymentReward, providing comprehensive visibility into each customer’s engagement history.
Security: Requires apikey and secretkey headers.

Authorizations

apikey
string
header
required

Path Parameters

customerId
string
required

Unique identifier for the customer

Query Parameters

startAfter
integer<int64>
default:0

Specifies the page will start after which activity id

limit
integer
default:50

Number of activities to return per page

Required range: x <= 200
activityType
enum<string>

Filter activities by specific type

Available options:
TierUpgraded,
TierDowngraded,
TierMigration,
CampaignRewarded,
SuccessfulAction,
Referral,
Referred,
ReferralBonusReward,
PaymentReward,
Refund,
Redemption,
Cancel,
Expiry,
Migration,
Lifetime,
Automation

Response

200 - application/json

Customer activities found

activities
object[]

An array of activity records for the customer

count
number

The total number of activities on the current page

hasMore
boolean

Whether there are additional logs to be fetched