GET

List Current Member Groups


Developer Preview

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

Retrieves the groups of a specific type that the logged-in site member belongs to.

For example, after a member buys a pricing plan, specify "plan" as type to check whether the member was already added to the plan's group. For groups of type "plan", the group ID is the pricing plan ID.

The response includes groups of the current site whose membership is currently active, sorted by title. A membership that expired or hasn't started yet isn't included. The built-in Admin and Member groups aren't included.

Currently supports a single type: "plan".

Call this method on behalf of a logged-in site member. A call without a logged-in site member fails with FAILED_PRECONDITION.

Permission Scopes
Read Access Groups
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/members-groups/v1/groups/current-member

Errors
400Invalid Argument

There is 1 error with this status code.

403Permission Denied

There is 1 error with this status code.

428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?