getActivityCounters( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Returns activity counters for a requested site member. A third party can read all the public counters, set by any app or site. However, third parties can only read their own private counters, not those from others' apps or sites.

Members are typically associated with a contact, each having a distinct member and contact ID. When passing the ID as a parameter, avoid presuming the IDs are identical since they represent separate entities.

Permissions
Manage Activity Counters
Read Activity Counters
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
memberIdstringRequired

ID of the member to retrieve activity counters for.

Returns
Return Type:Promise<GetActivityCountersResponse>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?