Retrieves activity counters for the specified site member, including all public counters and any private counters owned by the authenticated caller.
Note: Make sure to pass a memberId
and not a contactId
to identify the member. Any relationship between a member's memberId
and contactId
is coincidental.
Member ID whose counters will be returned.
Activity counters.
curl -X GET \
https://www.wixapis.com/members/v1/activity-counters/987110f7-5100-4beb-a948-de610fd18f00 \
-H 'Authorization: <AUTH>' \
{
"activityCounters": [
{
"memberId": "987110f7-5100-4beb-a948-de610fd18f00",
"appId": "7eb67052-4478-416e-b444-eff7accf6cea",
"counters": [
{
"key": "This is public key",
"public": true,
"count": 3
}
]
},
{
"memberId": "987110f7-5100-4beb-a948-de610fd18f00",
"appId": "fb70a122-6276-4bbd-9cc6-ea9bc452b2a1",
"counters": [
{
"key": "This is private key",
"public": false,
"count": 10
},
{
"key": "This is another public key",
"public": true,
"count": 10
}
]
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.