Give a member a group role
/api/group/members/{userId}/roles/{roleId}Give the member named in the address one of the group's roles on VRChat. Answers with the role ids VRChat says they now have. One request, never retried; a refusal answers with VRChat's own message, and a 403 for a permission Modbot's VRChat account lacks names it in missingGroupPermission. Once VRChat accepts, the audit log records who gave it, on the member's history.
Needs the ManageGroupRoles permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/group/members/string/roles/string"{ "userId": "string", "roleIds": [ "string" ]}Take a group role from a member DELETE
Take one of the group's roles away from the member named in the address, on VRChat. Answers with the role ids VRChat says they still have. One request, never retried. Once VRChat accepts, the audit log records who took it, on the member's history. Needs the `ManageGroupRoles` permission.
List group gallery images GET
The group's galleries, and one page of a gallery's images read from VRChat when you ask, newest first. `galleryId` chooses the gallery; left out, the first one. The galleries come from the group poll Modbot already makes, so only the images cost a request, and a group with no galleries costs none. `page` and `pageSize` page the images (at most 100 a page); `hasMore` is true when the page came back full. Images still waiting for approval are included, with `approved` false; `waiting=true` asks VRChat for those alone. Needs the `ViewAnalytics` permission.