Skip to main content
GET
/
api
/
v4.0
/
integrations
/
customers
/
{customerId}
/
activities
/
count
Get Customer Activities Count
curl --request GET \
  --url https://api.gameball.co/api/v4.0/integrations/customers/{customerId}/activities/count \
  --header 'apikey: <api-key>'
{
  "count": 123
}
This API retrieves the total count of customer activities within Gameball, identified by customerId. It allows for filtering by specific activity types, such as TierUpgraded, CampaignRewarded, ReferralBonusReward, and PaymentReward, providing the number of activities matching the specified criteria without returning detailed activity logs.
Security: Requires apikey and secretkey headers.

Authorizations

apikey
string
header
required

Path Parameters

customerId
string
required

Unique identifier for the customer

Query Parameters

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 count found

count
number

The total number of activities available in Gameball system