POST

List Badges Per Member


Retrieves badges assigned to the requested members.

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 Badges
Read Badges
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/members/v3/badges/members

Body Params
memberIdsArray <string>Requiredformat GUIDminItems 1maxItems 100

List of members.

Response Object
memberBadgeIdsArray <MemberBadgeIds>

List of members and the badges they're assigned to.

List members badge ids

Retrieving badge ids assigned to members

Request
cURL
curl -X POST \ 'https://www.wixapis.com/members/v3/badges/members' \ -H 'Authorization: <AUTH>' -d '{ "memberIds": [ "cdd1993d-811e-453d-8a0e-b9e0f7780b96", "b32b708e-d531-42fb-846b-f23c367d9c92" ] }'
Response
JSON
{ "memberBadgeIds": [ { "memberId": "cdd1993d-811e-453d-8a0e-b9e0f7780b96", "badgeIds": [ "ce700e2e-ded6-4e30-9638-6be7a9eec91b", "ffdc5c7d-d080-4c7c-869e-a8c4478532c0" ] }, { "memberId": "b32b708e-d531-42fb-846b-f23c367d9c92", "badgeIds": ["ce700e2e-ded6-4e30-9638-6be7a9eec91b"] } ] }
Errors

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

Did this help?