Skip to content

Groups v1

Reference for the Groups v1 endpoints on Roblox.

Base URL: https://groups.roblox.com

MethodPathName
GET/v1/featured-content/eventgetFeaturedContentEvent
POST/v1/featured-content/eventpostFeaturedContentEvent
DELETE/v1/featured-content/eventdeleteFeaturedContentEvent
GET/v1/groups/:groupIdgetGroupsGroupid
GET/v1/groups/:groupId/audit-loggetGroupsGroupidAuditLog
GET/v1/groups/:groupId/bansgetGroupsGroupidBans
GET/v1/groups/:groupId/bans/:userIdgetGroupsGroupidBansUserid
POST/v1/groups/:groupId/bans/:userIdpostGroupsGroupidBansUserid
DELETE/v1/groups/:groupId/bans/:userIddeleteGroupsGroupidBansUserid
GET/v1/groups/:groupId/blocked-keywordsgetGroupsGroupidBlockedKeywords
POST/v1/groups/:groupId/blocked-keywordspostGroupsGroupidBlockedKeywords
DELETE/v1/groups/:groupId/blocked-keywords/:keywordIddeleteGroupsGroupidBlockedKeywordsKeywordid
PATCH/v1/groups/:groupId/blocked-keywords/:keywordIdpatchGroupsGroupidBlockedKeywordsKeywordid
POST/v1/groups/:groupId/change-ownerpostGroupsGroupidChangeOwner
POST/v1/groups/:groupId/claim-ownershippostGroupsGroupidClaimOwnership
GET/v1/groups/:groupId/configurationgetGroupsGroupidConfiguration
PATCH/v1/groups/:groupId/descriptionpatchGroupsGroupidDescription
GET/v1/groups/:groupId/emotesgetGroupsGroupidEmotes
GET/v1/groups/:groupId/join-requestsgetGroupsGroupidJoinRequests
POST/v1/groups/:groupId/join-requestspostGroupsGroupidJoinRequests
DELETE/v1/groups/:groupId/join-requestsdeleteGroupsGroupidJoinRequests
GET/v1/groups/:groupId/join-requests/users/:userIdgetGroupsGroupidJoinRequestsUsersUserid
POST/v1/groups/:groupId/join-requests/users/:userIdpostGroupsGroupidJoinRequestsUsersUserid
DELETE/v1/groups/:groupId/join-requests/users/:userIddeleteGroupsGroupidJoinRequestsUsersUserid
GET/v1/groups/:groupId/membershipgetGroupsGroupidMembership
PATCH/v1/groups/:groupId/namepatchGroupsGroupidName
GET/v1/groups/:groupId/name-historygetGroupsGroupidNameHistory
PATCH/v1/groups/:groupId/notification-preferencepatchGroupsGroupidNotificationPreference
GET/v1/groups/:groupId/payout-restrictiongetGroupsGroupidPayoutRestriction
GET/v1/groups/:groupId/payoutsgetGroupsGroupidPayouts
POST/v1/groups/:groupId/payoutspostGroupsGroupidPayouts
POST/v1/groups/:groupId/payouts/recurringpostGroupsGroupidPayoutsRecurring
GET/v1/groups/:groupId/relationships/:groupRelationshipTypegetGroupsGroupidRelationshipsGrouprelationshiptype
POST/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupIdpostGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid
DELETE/v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupIddeleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid
GET/v1/groups/:groupId/relationships/:groupRelationshipType/requestsgetGroupsGroupidRelationshipsGrouprelationshiptypeRequests
POST/v1/groups/:groupId/relationships/:groupRelationshipType/requestspostGroupsGroupidRelationshipsGrouprelationshiptypeRequests
DELETE/v1/groups/:groupId/relationships/:groupRelationshipType/requestsdeleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests
POST/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupIdpostGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid
DELETE/v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupIddeleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid
GET/v1/groups/:groupId/rolesgetGroupsGroupidRoles
GET/v1/groups/:groupId/roles/:roleSetId/permissionsgetGroupsGroupidRolesRolesetidPermissions
PATCH/v1/groups/:groupId/roles/:roleSetId/permissionspatchGroupsGroupidRolesRolesetidPermissions
GET/v1/groups/:groupId/roles/:roleSetId/usersgetGroupsGroupidRolesRolesetidUsers
GET/v1/groups/:groupId/roles/guest/permissionsgetGroupsGroupidRolesGuestPermissions
GET/v1/groups/:groupId/roles/permissionsgetGroupsGroupidRolesPermissions
DELETE/v1/groups/:groupId/rolesets/:rolesetIddeleteGroupsGroupidRolesetsRolesetid
PATCH/v1/groups/:groupId/rolesets/:rolesetIdpatchGroupsGroupidRolesetsRolesetid
POST/v1/groups/:groupId/rolesets/createpostGroupsGroupidRolesetsCreate
GET/v1/groups/:groupId/settingsgetGroupsGroupidSettings
PATCH/v1/groups/:groupId/settingspatchGroupsGroupidSettings
GET/v1/groups/:groupId/social-linksgetGroupsGroupidSocialLinks
POST/v1/groups/:groupId/social-linkspostGroupsGroupidSocialLinks
DELETE/v1/groups/:groupId/social-links/:socialLinkIddeleteGroupsGroupidSocialLinksSociallinkid
PATCH/v1/groups/:groupId/social-links/:socialLinkIdpatchGroupsGroupidSocialLinksSociallinkid
PATCH/v1/groups/:groupId/statuspatchGroupsGroupidStatus
GET/v1/groups/:groupId/usersgetGroupsGroupidUsers
POST/v1/groups/:groupId/userspostGroupsGroupidUsers
DELETE/v1/groups/:groupId/users/:userIddeleteGroupsGroupidUsersUserid
PATCH/v1/groups/:groupId/users/:userIdpatchGroupsGroupidUsersUserid
GET/v1/groups/:groupId/users/:userId/permissionsgetGroupsGroupidUsersUseridPermissions
GET/v1/groups/:groupId/wall/postsgetGroupsGroupidWallPosts
POST/v1/groups/:groupId/wall/postspostGroupsGroupidWallPosts
DELETE/v1/groups/:groupId/wall/posts/:postIddeleteGroupsGroupidWallPostsPostid
POST/v1/groups/:groupId/wall/subscribepostGroupsGroupidWallSubscribe
DELETE/v1/groups/:groupId/wall/users/:userId/postsdeleteGroupsGroupidWallUsersUseridPosts
GET/v1/groups/configuration/metadatagetGroupsConfigurationMetadata
POST/v1/groups/createpostGroupsCreate
PATCH/v1/groups/iconpatchGroupsIcon
GET/v1/groups/metadatagetGroupsMetadata
POST/v1/groups/policiespostGroupsPolicies
GET/v1/groups/searchgetGroupsSearch
GET/v1/groups/search/lookupgetGroupsSearchLookup
GET/v1/groups/search/metadatagetGroupsSearchMetadata
GET/v1/rolesgetRoles
GET/v1/user/groups/pendinggetUserGroupsPending
POST/v1/user/groups/primarypostUserGroupsPrimary
DELETE/v1/user/groups/primarydeleteUserGroupsPrimary
GET/v1/users/:userId/friends/groups/rolesgetUsersUseridFriendsGroupsRoles
GET/v1/users/:userId/groups/primary/rolegetUsersUseridGroupsPrimaryRole
GET/v1/users/:userId/groups/rolesgetUsersUseridGroupsRoles

GET /v1/featured-content/event

Gets the featured event for a group

Usage
import { fetchApi } from 'rozod';
import { getFeaturedContentEvent } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getFeaturedContentEvent, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
groupIdnumber
contentTypestring
contentIdstring

POST /v1/featured-content/event

Sets the featured event for a group

Usage
import { fetchApi } from 'rozod';
import { postFeaturedContentEvent } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postFeaturedContentEvent, {
groupId: /* integer */,
eventId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
eventIdintegerYesThe event Id.
FieldTypeDescription
groupIdnumber
contentTypestring
contentIdstring
StatusDescription
4030: Token Validation Failed
3: User is not authorized to set featured content for this group.

DELETE /v1/featured-content/event

Deletes the featured event for a group

Usage
import { fetchApi } from 'rozod';
import { deleteFeaturedContentEvent } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteFeaturedContentEvent, {
groupId: /* integer */,
eventId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
eventIdintegerYesThe event Id.

Type: unknown

StatusDescription
4030: Token Validation Failed
3: User is not authorized to set featured content for this group.

GET /v1/groups/:groupId

Gets group information

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupid, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
shoutobjectSee below
memberCountnumber
isBuildersClubOnlyboolean
publicEntryAllowedboolean
isLockedboolean
hasVerifiedBadgeboolean
hasSocialModulesboolean

owner fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

shout fields:

FieldTypeDescription
bodystring
posterobjectSee below
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: Group is invalid or does not exist.

GET /v1/groups/:groupId/audit-log

Gets the Group’s audit log

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidAuditLog } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidAuditLog, {
groupId: /* integer */,
userId: /* integer? */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group the user is in.
userIdinteger?NoFilter for specific user id
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesThe order the results are sorted in.
FieldTypeDescription
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
actorobjectSee below
actionTypestring
descriptionobjectSee below
createdstring

actor fields:

FieldTypeDescription
userobjectSee below
roleobjectSee below

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4001: Group is invalid or does not exist.
8: Invalid or missing pagination parameters
4010: Authorization has been denied for this request.
40323: Insufficient permissions to complete the request.

GET /v1/groups/:groupId/bans

Gets the bans for the group

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidBans } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidBans, {
groupId: /* integer */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesThe order the results are sorted in.
FieldTypeDescription
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
userobjectSee below
actingUserobjectSee below
createdstring

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

actingUser fields:

FieldTypeDescription
userobjectSee below
roleobjectSee below

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4010: Authorization has been denied for this request.
40319: You have insufficient permissions for this request.
4041: The group is invalid or does not exist.
40518: The operation is temporarily unavailable. Please try again later.

GET /v1/groups/:groupId/bans/:userId

Fetch the group ban of a user from a group

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidBansUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidBansUserid, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
userIdintegerYesThe user Id.
FieldTypeDescription
userobjectSee below
actingUserobjectSee below
createdstring

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

actingUser fields:

FieldTypeDescription
userobjectSee below
roleobjectSee below

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4010: Authorization has been denied for this request.
40319: You have insufficient permissions for this request.
4041: The group is invalid or does not exist.
3: The user is invalid or does not exist.
40518: The operation is temporarily unavailable. Please try again later.

POST /v1/groups/:groupId/bans/:userId

Bans a user from a group

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidBansUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidBansUserid, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
userIdintegerYesThe Id of the user being banned.
FieldTypeDescription
userobjectSee below
actingUserobjectSee below
createdstring

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

actingUser fields:

FieldTypeDescription
userobjectSee below
roleobjectSee below

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
40028: The user is already banned from the group.
31: You cannot perform this action against the group owner.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
19: You have insufficient permissions for this request.
4041: The group is invalid or does not exist.
3: The user is invalid or does not exist.
3: The user is invalid or does not exist.
15: User is not a member of the group.
40518: The operation is temporarily unavailable. Please try again later.

DELETE /v1/groups/:groupId/bans/:userId

Unbans a user from a group

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidBansUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidBansUserid, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
userIdintegerYesThe Id of the user being unbanned.

Type: unknown

StatusDescription
40029: The user is not banned from the group.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
19: You have insufficient permissions for this request.
4041: The group is invalid or does not exist.
40518: The operation is temporarily unavailable. Please try again later.

GET /v1/groups/:groupId/blocked-keywords

Retrieves a paginated list of blocked keywords for a specific Group.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidBlockedKeywords } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidBlockedKeywords, {
groupId: /* integer */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYes
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesThe order the results are sorted in.
FieldTypeDescription
totalActiveKeywordsCountnumber
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
idstring
keywordstring
createdBynumber
isPrivateboolean
createdAtstring
updatedAtstring
StatusDescription
4001: Group is invalid or does not exist.
6: Limit is invalid.
4010: Authorization has been denied for this request.
4039: User is invalid or does not exist.
10: Insufficient permissions to complete the request.
40531: Service is currently unavailable.

POST /v1/groups/:groupId/blocked-keywords

Adds new blocked keyword(s) to the specified Group.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidBlockedKeywords } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidBlockedKeywords, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYes
FieldTypeDescription
keywordsstring
isPrivateboolean
FieldTypeDescription
createdKeywordsobject[]See below
hadModeratedKeywordsboolean
hadDuplicateKeywordsboolean

createdKeywords[] item fields:

FieldTypeDescription
idstring
keywordstring
createdBynumber
isPrivateboolean
createdAtstring
updatedAtstring
StatusDescription
4001: Group is invalid or does not exist.
2: One or more keywords are invalid.
4: Invalid request.
12: The provided content was moderated.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
8: Insufficient permissions to complete the request.
9: User is invalid or does not exist.
10: Insufficient permissions to complete the request.
40531: Service is currently unavailable.
40911: There was a conflict in your request.

deleteGroupsGroupidBlockedKeywordsKeywordid

Section titled “deleteGroupsGroupidBlockedKeywordsKeywordid”

DELETE /v1/groups/:groupId/blocked-keywords/:keywordId

Deletes a specific blocked keyword from the specified Group.

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidBlockedKeywordsKeywordid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidBlockedKeywordsKeywordid, {
groupId: /* integer */,
keywordId: /* string */
});
NameTypeRequiredDescription
groupIdintegerYes
keywordIdstringYes

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
3: KeywordId is invalid.
4: Invalid request.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
9: User is invalid or does not exist.
10: Insufficient permissions to complete the request.
4047: Not found.
40531: Service is currently unavailable.

patchGroupsGroupidBlockedKeywordsKeywordid

Section titled “patchGroupsGroupidBlockedKeywordsKeywordid”

PATCH /v1/groups/:groupId/blocked-keywords/:keywordId

Updates an existing blocked keyword for the specified Group.

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidBlockedKeywordsKeywordid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidBlockedKeywordsKeywordid, {
groupId: /* integer */,
keywordId: /* string */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYes
keywordIdstringYes
FieldTypeDescription
keywordstring
isPrivateboolean
FieldTypeDescription
idstring
keywordstring
createdBynumber
isPrivateboolean
createdAtstring
updatedAtstring
StatusDescription
4001: Group is invalid or does not exist.
3: KeywordId is invalid.
4: Invalid request.
12: The provided content was moderated.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
8: Insufficient permissions to complete the request.
9: User is invalid or does not exist.
10: Insufficient permissions to complete the request.
4047: Not found.
40531: Service is currently unavailable.
40911: There was a conflict in your request.

POST /v1/groups/:groupId/change-owner

Changes the group owner to another user.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidChangeOwner } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidChangeOwner, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
userIdnumber

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
3: The user is invalid or does not exist.
15: User is not a member of the group.
16: The user does not have the necessary level of premium membership.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
17: You are not authorized to change the owner of this group.
25: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.

POST /v1/groups/:groupId/claim-ownership

Claims ownership of the group as the authenticated user

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidClaimOwnership } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidClaimOwnership, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
11: You are not authorized to claim this group
12: This group already has an owner
13: Too many attempts to claim groups. Please try again later.
50318: The operation is temporarily unavailable. Please try again later.

GET /v1/groups/:groupId/configuration

Gets group configuration information

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidConfiguration } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidConfiguration, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
groupIdnumber
emblemIdnumber
coverPhotoIdnumber
StatusDescription
4001: Group is invalid or does not exist.
15: User is not a member of the group.
4031: Group is invalid or does not exist.
23: Insufficient permissions to complete the request.
50331: Service is currently unavailable.

PATCH /v1/groups/:groupId/description

Updates the groups description

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidDescription } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidDescription, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group the user is in.
FieldTypeDescription
descriptionstring
FieldTypeDescription
newDescriptionstring
StatusDescription
4001: Group is invalid or does not exist.
29: Your group description was empty.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
18: The description is too long.
23: Insufficient permissions to complete the request.

GET /v1/groups/:groupId/emotes

Gets a groups emote sets.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidEmotes } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidEmotes, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYes
FieldTypeDescription
emoteSetsobject[]See below

emoteSets[] item fields:

FieldTypeDescription
idstring
namestring
emotesobject[]See below

emotes[] item fields:

FieldTypeDescription
idstring
namestring

GET /v1/groups/:groupId/join-requests

Gets a page of Group Join Requests for a group.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidJoinRequests } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidJoinRequests, {
groupId: /* integer */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesThe order the results are sorted in.
FieldTypeDescription
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
requesterobjectSee below
createdstring

requester fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: The group is invalid or does not exist.
4010: Authorization has been denied for this request.
40319: You have insufficient permissions for this request.

POST /v1/groups/:groupId/join-requests

Batch accepts group join requests

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidJoinRequests } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidJoinRequests, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
UserIdsnumber[]

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
3: The user is invalid or does not exist.
20: The group join request is invalid.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
6: You are already in the maximum number of groups.
19: You have insufficient permissions for this request.
5000: Something went wrong.
50318: The operation is temporarily unavailable. Please try again later.

DELETE /v1/groups/:groupId/join-requests

Batch declines group join requests

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidJoinRequests } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidJoinRequests, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
UserIdsnumber[]

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
3: The user is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed

GET /v1/groups/:groupId/join-requests/users/:userId

Gets a group join request by userId.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidJoinRequestsUsersUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidJoinRequestsUsersUserid, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
userIdintegerYesThe user Id.
FieldTypeDescription
requesterobjectSee below
createdstring

requester fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: The group is invalid or does not exist.
4010: Authorization has been denied for this request.
40319: You have insufficient permissions for this request.

POST /v1/groups/:groupId/join-requests/users/:userId

Accepts a group join request.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidJoinRequestsUsersUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidJoinRequestsUsersUserid, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
userIdintegerYesThe user Id.

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
3: The user is invalid or does not exist.
20: The group join request is invalid.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
6: You are already in the maximum number of groups.
19: You have insufficient permissions for this request.
50318: The operation is temporarily unavailable. Please try again later.

deleteGroupsGroupidJoinRequestsUsersUserid

Section titled “deleteGroupsGroupidJoinRequestsUsersUserid”

DELETE /v1/groups/:groupId/join-requests/users/:userId

Declines/cancels a group join request.

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidJoinRequestsUsersUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidJoinRequestsUsersUserid, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
userIdintegerYesThe user Id.

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
3: The user is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
4: You do not have permission to manage this member.

GET /v1/groups/:groupId/membership

Gets group membership information in the context of the authenticated user

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidMembership } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidMembership, {
groupId: /* integer */,
includeNotificationPreferences: /* boolean */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
includeNotificationPreferencesbooleanYes
FieldTypeDescription
groupIdnumber
isPrimaryboolean
isPendingJoinboolean
userRoleobjectSee below
permissionsobjectSee below
channelPermissionsobject[]See below
areGroupGamesVisibleboolean
areGroupFundsVisibleboolean
areEnemiesAllowedboolean
canConfigureboolean
isNotificationsEnabledboolean
notificationPreferencesobject[]See below
isBannedFromGroupboolean
canViewMemberListboolean

userRole fields:

FieldTypeDescription
userobjectSee below
roleobjectSee below

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

permissions fields:

FieldTypeDescription
groupPostsPermissionsobjectSee below
groupForumsPermissionsobjectSee below
groupContentModerationPermissionsobjectSee below
groupMembershipPermissionsobjectSee below
groupManagementPermissionsobjectSee below
groupEconomyPermissionsobjectSee below
groupOpenCloudPermissionsobjectSee below

groupPostsPermissions fields:

FieldTypeDescription
viewWallboolean
postToWallboolean
deleteFromWallboolean
viewStatusboolean
postToStatusboolean

groupForumsPermissions fields:

FieldTypeDescription
viewForumsboolean
manageCategoriesboolean
createPostsboolean
removePostsboolean
lockPostsboolean
pinPostsboolean
createCommentsboolean
removeCommentsboolean

groupContentModerationPermissions fields:

FieldTypeDescription
manageKeywordBlockListboolean
viewKeywordBlockListboolean

groupMembershipPermissions fields:

FieldTypeDescription
changeRankboolean
inviteMembersboolean
removeMembersboolean
banMembersboolean

groupManagementPermissions fields:

FieldTypeDescription
manageRelationshipsboolean
manageClanboolean
viewAuditLogsboolean
bypassSlowmodeboolean

groupEconomyPermissions fields:

FieldTypeDescription
spendGroupFundsboolean
advertiseGroupboolean
createItemsboolean
manageItemsboolean
addGroupPlacesboolean
manageGroupGamesboolean
viewGroupPayoutsboolean
viewAnalyticsboolean

groupOpenCloudPermissions fields:

FieldTypeDescription
useCloudAuthenticationboolean
administerCloudAuthenticationboolean

channelPermissions[] item fields:

FieldTypeDescription
channelIdstring
groupForumsPermissionsobjectSee below

groupForumsPermissions fields:

FieldTypeDescription
viewForumsboolean
manageCategoriesboolean
createPostsboolean
removePostsboolean
lockPostsboolean
pinPostsboolean
createCommentsboolean
removeCommentsboolean

notificationPreferences[] item fields:

FieldTypeDescription
type`“AnnouncementCreatedNotification""ForumPostCreatedNotification"
enabledboolean
namestring
descriptionstring
StatusDescription
4001: The group is invalid or does not exist.

PATCH /v1/groups/:groupId/name

Updates the group’s name.

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidName } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidName, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group the user is in.
FieldTypeDescription
namestring
FieldTypeDescription
newNamestring
StatusDescription
4001: Group is invalid or does not exist.
13: The name is invalid.
19: The name is too long.
20: The name has been taken.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
12: Insufficient Robux funds.
14: The name is moderated.
23: Insufficient permissions to complete the request.
38: Your account must be verified in order to change your group’s name.
39: The group ownership was changed too recently.
40936: The name was changed too recently.
37: The name was in use too recently.
4130: Unknown error.
42917: Too many requests.

GET /v1/groups/:groupId/name-history

Gets the Group’s name change history.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidNameHistory } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidNameHistory, {
groupId: /* integer */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group.
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesThe order the results are sorted in.
FieldTypeDescription
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
namestring
createdstring
StatusDescription
4001: Group is invalid or does not exist.
40323: Insufficient permissions to complete the request.

PATCH /v1/groups/:groupId/notification-preference

Updates the group’s settings

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidNotificationPreference } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidNotificationPreference, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group the user is in.
FieldTypeDescription
notificationsEnabledboolean
type`“AnnouncementCreatedNotification""ForumPostCreatedNotification"

Type: 0

StatusDescription
4001: Group is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed

GET /v1/groups/:groupId/payout-restriction

Gets a value indicating whether the group can use payout feature

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidPayoutRestriction } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidPayoutRestriction, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
canUseRecurringPayoutboolean
canUseOneTimePayoutboolean
StatusDescription
4001: Group is invalid or does not exist.
4010: Authorization has been denied for this request.
4039: You don’t have permission to view this group’s payouts.

GET /v1/groups/:groupId/payouts

Gets a list of the group payout percentages

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidPayouts } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidPayouts, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
dataobject[]See below

data[] item fields:

FieldTypeDescription
userobjectSee below
percentagenumber

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: Group is invalid or does not exist.
4010: Authorization has been denied for this request.
4039: You don’t have permission to view this group’s payouts.

POST /v1/groups/:groupId/payouts

Pays out a user in Robux.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidPayouts } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidPayouts, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
PayoutType`“FixedAmount""Percentage”`
Recipientsobject[]See below
IdempotencyKeystring

Recipients[] item fields:

FieldTypeDescription
recipientIdnumber
recipientType`“User""Group”`
amountnumber
FieldTypeDescription
status`“NotHeld""Held”`
StatusDescription
4001: Group is invalid or does not exist.
12: Insufficient Robux funds.
24: Invalid payout type.
25: The amount is invalid.
26: Too many recipients.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
23: Insufficient permissions to complete the request.
28: Group has paid out too recently. Please wait and try again.
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
50322: The feature is disabled.

POST /v1/groups/:groupId/payouts/recurring

Updates recurring payouts.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidPayoutsRecurring } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidPayoutsRecurring, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
PayoutType`“FixedAmount""Percentage”`
Recipientsobject[]See below
IdempotencyKeystring

Recipients[] item fields:

FieldTypeDescription
recipientIdnumber
recipientType`“User""Group”`
amountnumber

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
24: Invalid payout type.
25: The amount is invalid.
26: Too many recipients.
27: The recipients are invalid.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
12: Insufficient Robux funds.
28: Group has paid out too recently. Please wait and try again.
35: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
50322: The feature is disabled.

getGroupsGroupidRelationshipsGrouprelationshiptype

Section titled “getGroupsGroupidRelationshipsGrouprelationshiptype”

GET /v1/groups/:groupId/relationships/:groupRelationshipType

Gets a group’s relationships

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidRelationshipsGrouprelationshiptype } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidRelationshipsGrouprelationshiptype, {
groupId: /* integer */,
groupRelationshipType: /* string */,
StartRowIndex: /* integer */,
MaxRows: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
groupRelationshipTypestringYesThe group relationship type, enemies or allies.
StartRowIndexintegerYesThe start index of the page request
MaxRowsintegerYesThe maximum number of rows for the page request, should be at least 1.
FieldTypeDescription
groupIdnumber
relationshipType`“Allies""Enemies”`
totalGroupCountnumber
relatedGroupsobject[]See below
nextRowIndexnumber

relatedGroups[] item fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
shoutobjectSee below
memberCountnumber
isBuildersClubOnlyboolean
publicEntryAllowedboolean
isLockedboolean
hasVerifiedBadgeboolean
hasSocialModulesboolean

owner fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

shout fields:

FieldTypeDescription
bodystring
posterobjectSee below
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: Group is invalid or does not exist.
4: Group relationship type or request type is invalid.
8: Invalid or missing pagination parameters

postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid

Section titled “postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid”

POST /v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId

Create a group relationship.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid, {
groupId: /* integer */,
groupRelationshipType: /* string */,
relatedGroupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
groupRelationshipTypestringYesThe group relationship type, enemies or allies.
relatedGroupIdintegerYesThe id of the group you want to create a relationship with.

Type: unknown

StatusDescription
4001: Group relationship type or request type is invalid.
2: Invalid group.
3: Target group is invalid or does not exist.
4: Your group cannot establish a relationship with itself.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
5: Your group does not allow enemy declarations.
6: Other group does not allow enemy declarations.
7: Your group already has a relationship with the target group.
8: You are blocked from communicating with this user.
9: Insufficient permissions.

deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid

Section titled “deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid”

DELETE /v1/groups/:groupId/relationships/:groupRelationshipType/:relatedGroupId

Deletes a group relationship.

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidRelationshipsGrouprelationshiptypeRelatedgroupid, {
groupId: /* integer */,
groupRelationshipType: /* string */,
relatedGroupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
groupRelationshipTypestringYesThe group relationship type, enemies or allies.
relatedGroupIdintegerYesThe id of the group you want to delete the relationship with.

Type: unknown

StatusDescription
4002: Invalid group.
3: Target group is invalid or does not exist.
11: Relationship does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
8: You are blocked from communicating with this user.

getGroupsGroupidRelationshipsGrouprelationshiptypeRequests

Section titled “getGroupsGroupidRelationshipsGrouprelationshiptypeRequests”

GET /v1/groups/:groupId/relationships/:groupRelationshipType/requests

Gets a group’s relationship requests

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidRelationshipsGrouprelationshiptypeRequests } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidRelationshipsGrouprelationshiptypeRequests, {
groupId: /* integer */,
groupRelationshipType: /* string */,
StartRowIndex: /* integer */,
MaxRows: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
groupRelationshipTypestringYesThe group relationship type of the request, only allies are supported.
StartRowIndexintegerYesThe start index of the page request
MaxRowsintegerYesThe maximum number of rows for the page request, should be at least 1.
FieldTypeDescription
groupIdnumber
relationshipType`“Allies""Enemies”`
totalGroupCountnumber
relatedGroupsobject[]See below
nextRowIndexnumber

relatedGroups[] item fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
shoutobjectSee below
memberCountnumber
isBuildersClubOnlyboolean
publicEntryAllowedboolean
isLockedboolean
hasVerifiedBadgeboolean
hasSocialModulesboolean

owner fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

shout fields:

FieldTypeDescription
bodystring
posterobjectSee below
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: Group is invalid or does not exist.
4: Group relationship type or request type is invalid.
8: Invalid or missing pagination parameters
4010: Authorization has been denied for this request.
4035: You don’t have permission to manage this group’s relationships.

postGroupsGroupidRelationshipsGrouprelationshiptypeRequests

Section titled “postGroupsGroupidRelationshipsGrouprelationshiptypeRequests”

POST /v1/groups/:groupId/relationships/:groupRelationshipType/requests

Batch accepts group affiliate requests

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidRelationshipsGrouprelationshiptypeRequests } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidRelationshipsGrouprelationshiptypeRequests, {
groupId: /* integer */,
groupRelationshipType: /* string */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
groupRelationshipTypestringYesThe type of group relationship being made
FieldTypeDescription
GroupIdsnumber[]

Type: unknown

StatusDescription
4010: Authorization has been denied for this request.
4030: Token Validation Failed

deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests

Section titled “deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests”

DELETE /v1/groups/:groupId/relationships/:groupRelationshipType/requests

Batch declines group affiliate requests

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequests, {
groupId: /* integer */,
groupRelationshipType: /* string */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
groupRelationshipTypestringYesThe type of group relationship being made
FieldTypeDescription
GroupIdsnumber[]

Type: unknown

StatusDescription
4010: Authorization has been denied for this request.
4030: Token Validation Failed

postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid

Section titled “postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid”

POST /v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId

Accepts a group relationship request.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid, {
groupId: /* integer */,
groupRelationshipType: /* string */,
relatedGroupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
groupRelationshipTypestringYesThe group relationship type, enemies or allies, only allies are supported.
relatedGroupIdintegerYesThe id of the group you want to accept the relationship request with.

Type: unknown

StatusDescription
4001: Group relationship type or request type is invalid.
2: Invalid group.
3: Target group is invalid or does not exist.
10: Relationship request does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
9: Insufficient permissions.

deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid

Section titled “deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid”

DELETE /v1/groups/:groupId/relationships/:groupRelationshipType/requests/:relatedGroupId

Declines a group relationship request.

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidRelationshipsGrouprelationshiptypeRequestsRelatedgroupid, {
groupId: /* integer */,
groupRelationshipType: /* string */,
relatedGroupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
groupRelationshipTypestringYesThe group relationship type, enemies or allies.
relatedGroupIdintegerYesThe id of the group you want to accept the relationship request with.

Type: unknown

StatusDescription
4001: Group relationship type or request type is invalid.
2: Invalid group.
3: Target group is invalid or does not exist.
10: Relationship request does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
9: Insufficient permissions.

GET /v1/groups/:groupId/roles

Gets a list of the rolesets in a group.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidRoles } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidRoles, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
groupIdnumber
rolesobject[]See below

roles[] item fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4001: The group is invalid or does not exist.

GET /v1/groups/:groupId/roles/:roleSetId/permissions

Gets the permissions for a group’s roleset. The authorized user must either be the group owner or the roleset being requested, except for guest roles, which can be viewed by all (members and guests).

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidRolesRolesetidPermissions } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidRolesRolesetidPermissions, {
groupId: /* integer */,
roleSetId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
roleSetIdintegerYesThe group’s role set id.
FieldTypeDescription
groupIdnumber
roleobjectSee below
permissionsobjectSee below

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

permissions fields:

FieldTypeDescription
groupPostsPermissionsobjectSee below
groupForumsPermissionsobjectSee below
groupContentModerationPermissionsobjectSee below
groupMembershipPermissionsobjectSee below
groupManagementPermissionsobjectSee below
groupEconomyPermissionsobjectSee below
groupOpenCloudPermissionsobjectSee below

groupPostsPermissions fields:

FieldTypeDescription
viewWallboolean
postToWallboolean
deleteFromWallboolean
viewStatusboolean
postToStatusboolean

groupForumsPermissions fields:

FieldTypeDescription
viewForumsboolean
manageCategoriesboolean
createPostsboolean
removePostsboolean
lockPostsboolean
pinPostsboolean
createCommentsboolean
removeCommentsboolean

groupContentModerationPermissions fields:

FieldTypeDescription
manageKeywordBlockListboolean
viewKeywordBlockListboolean

groupMembershipPermissions fields:

FieldTypeDescription
changeRankboolean
inviteMembersboolean
removeMembersboolean
banMembersboolean

groupManagementPermissions fields:

FieldTypeDescription
manageRelationshipsboolean
manageClanboolean
viewAuditLogsboolean
bypassSlowmodeboolean

groupEconomyPermissions fields:

FieldTypeDescription
spendGroupFundsboolean
advertiseGroupboolean
createItemsboolean
manageItemsboolean
addGroupPlacesboolean
manageGroupGamesboolean
viewGroupPayoutsboolean
viewAnalyticsboolean

groupOpenCloudPermissions fields:

FieldTypeDescription
useCloudAuthenticationboolean
administerCloudAuthenticationboolean
StatusDescription
4001: Group is invalid or does not exist.
2: The roleset is invalid or does not exist.
4010: Authorization has been denied for this request.
4033: You are not authorized to view/edit permissions for this role.

patchGroupsGroupidRolesRolesetidPermissions

Section titled “patchGroupsGroupidRolesRolesetidPermissions”

PATCH /v1/groups/:groupId/roles/:roleSetId/permissions

Updates the permissions for a group’s roleset. The authorized user must be the group owner.

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidRolesRolesetidPermissions } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidRolesRolesetidPermissions, {
groupId: /* integer */,
roleSetId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group’s id.
roleSetIdintegerYesThe roleset’s id.
FieldTypeDescription
permissionsobjectSee below

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
2: The roleset is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
3: You are not authorized to view/edit permissions for this role.
4: This role’s permissions can not be modified.

GET /v1/groups/:groupId/roles/:roleSetId/users

Gets a list of users in a group for a specific roleset.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidRolesRolesetidUsers } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidRolesRolesetidUsers, {
groupId: /* integer */,
roleSetId: /* integer */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
roleSetIdintegerYesThe group’s role set id.
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesThe order the results are sorted in.
FieldTypeDescription
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: The group is invalid or does not exist.
4032: The roleset is invalid or does not exist.
35: You do not have permission to view this group’s member list.

GET /v1/groups/:groupId/roles/guest/permissions

Gets the permissions for a group’s guest roleset. These can be viewed by all (members and guests) users.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidRolesGuestPermissions } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidRolesGuestPermissions, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
groupIdnumber
roleobjectSee below
permissionsobjectSee below

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

permissions fields:

FieldTypeDescription
groupPostsPermissionsobjectSee below
groupForumsPermissionsobjectSee below
groupContentModerationPermissionsobjectSee below
groupMembershipPermissionsobjectSee below
groupManagementPermissionsobjectSee below
groupEconomyPermissionsobjectSee below
groupOpenCloudPermissionsobjectSee below

groupPostsPermissions fields:

FieldTypeDescription
viewWallboolean
postToWallboolean
deleteFromWallboolean
viewStatusboolean
postToStatusboolean

groupForumsPermissions fields:

FieldTypeDescription
viewForumsboolean
manageCategoriesboolean
createPostsboolean
removePostsboolean
lockPostsboolean
pinPostsboolean
createCommentsboolean
removeCommentsboolean

groupContentModerationPermissions fields:

FieldTypeDescription
manageKeywordBlockListboolean
viewKeywordBlockListboolean

groupMembershipPermissions fields:

FieldTypeDescription
changeRankboolean
inviteMembersboolean
removeMembersboolean
banMembersboolean

groupManagementPermissions fields:

FieldTypeDescription
manageRelationshipsboolean
manageClanboolean
viewAuditLogsboolean
bypassSlowmodeboolean

groupEconomyPermissions fields:

FieldTypeDescription
spendGroupFundsboolean
advertiseGroupboolean
createItemsboolean
manageItemsboolean
addGroupPlacesboolean
manageGroupGamesboolean
viewGroupPayoutsboolean
viewAnalyticsboolean

groupOpenCloudPermissions fields:

FieldTypeDescription
useCloudAuthenticationboolean
administerCloudAuthenticationboolean
StatusDescription
4001: Group is invalid or does not exist.

GET /v1/groups/:groupId/roles/permissions

Gets all permissions for each role

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidRolesPermissions } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidRolesPermissions, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
dataobject[]See below

data[] item fields:

FieldTypeDescription
groupIdnumber
roleobjectSee below
permissionsobjectSee below

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

permissions fields:

FieldTypeDescription
groupPostsPermissionsobjectSee below
groupForumsPermissionsobjectSee below
groupContentModerationPermissionsobjectSee below
groupMembershipPermissionsobjectSee below
groupManagementPermissionsobjectSee below
groupEconomyPermissionsobjectSee below
groupOpenCloudPermissionsobjectSee below

groupPostsPermissions fields:

FieldTypeDescription
viewWallboolean
postToWallboolean
deleteFromWallboolean
viewStatusboolean
postToStatusboolean

groupForumsPermissions fields:

FieldTypeDescription
viewForumsboolean
manageCategoriesboolean
createPostsboolean
removePostsboolean
lockPostsboolean
pinPostsboolean
createCommentsboolean
removeCommentsboolean

groupContentModerationPermissions fields:

FieldTypeDescription
manageKeywordBlockListboolean
viewKeywordBlockListboolean

groupMembershipPermissions fields:

FieldTypeDescription
changeRankboolean
inviteMembersboolean
removeMembersboolean
banMembersboolean

groupManagementPermissions fields:

FieldTypeDescription
manageRelationshipsboolean
manageClanboolean
viewAuditLogsboolean
bypassSlowmodeboolean

groupEconomyPermissions fields:

FieldTypeDescription
spendGroupFundsboolean
advertiseGroupboolean
createItemsboolean
manageItemsboolean
addGroupPlacesboolean
manageGroupGamesboolean
viewGroupPayoutsboolean
viewAnalyticsboolean

groupOpenCloudPermissions fields:

FieldTypeDescription
useCloudAuthenticationboolean
administerCloudAuthenticationboolean
StatusDescription
4010: Authorization has been denied for this request.

DELETE /v1/groups/:groupId/rolesets/:rolesetId

Deletes existing group roleset.

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidRolesetsRolesetid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidRolesetsRolesetid, {
groupId: /* integer */,
rolesetId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
rolesetIdintegerYesThe roleset Id.

Type: unknown

StatusDescription
40010: This group does not exist.
15: This role does not exist.
17: Cannot remove any more roles
18: Cannot delete this role.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
9: You do not have permissions to perform this action.
16: There are users in this role.

PATCH /v1/groups/:groupId/rolesets/:rolesetId

Updates existing group roleset.

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidRolesetsRolesetid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidRolesetsRolesetid, {
groupId: /* integer */,
rolesetId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
rolesetIdintegerYesThe roleset Id.
FieldTypeDescription
namestring
descriptionstring
ranknumber
FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4005: Role name already exists.
6: Rank value is out of bounds.
7: The role name is too long.
8: The role description is too long.
10: This group does not exist.
14: Role name can not be empty.
15: This role does not exist.
19: Cannot update Guest role.
20: Cannot update Owner role rank.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
9: You do not have permissions to perform this action.

POST /v1/groups/:groupId/rolesets/create

Creates new group roleset.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidRolesetsCreate } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidRolesetsCreate, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
namestring
descriptionstring
ranknumber
usingGroupFundsboolean
FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4000: Something went wrong.
3: You do not have enough funds to purchase this role.
5: Role name already exists.
6: Rank value is out of bounds.
7: The role name is too long.
8: The role description is too long.
10: This group does not exist.
11: Failed to process payment to purchase role.
12: Limit for roles have been reached on this group.
14: Role name can not be empty.
15: This role does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
9: You do not have permissions to perform this action.

GET /v1/groups/:groupId/settings

Gets the Group’s settings

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidSettings } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidSettings, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group the user is in.
FieldTypeDescription
isApprovalRequiredboolean
isBuildersClubRequiredboolean
areEnemiesAllowedboolean
areGroupFundsVisibleboolean
areGroupGamesVisibleboolean
isGroupNameChangeEnabledboolean
verificationLevel`01
accountTenureRequirement`01
slowmode`01
isMemberListVisibleToPublicboolean
StatusDescription
4001: Group is invalid or does not exist.
4010: Authorization has been denied for this request.
40323: Insufficient permissions to complete the request.

PATCH /v1/groups/:groupId/settings

Updates the group’s settings

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidSettings } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidSettings, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group the user is in.
FieldTypeDescription
isApprovalRequiredboolean
areEnemiesAllowedboolean
areGroupFundsVisibleboolean
areGroupGamesVisibleboolean
verificationLevel`01
accountTenureRequirement`01
slowmode`01
isMemberListVisibleToPublicboolean

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
23: Insufficient permissions to complete the request.
50331: Service is currently unavailable.

GET /v1/groups/:groupId/social-links

Get social link data associated with a group

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidSocialLinks } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidSocialLinks, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe Id of the game
FieldTypeDescription
dataobject[]See below
socialLinksVerificationStatus`01

data[] item fields:

FieldTypeDescription
idnumber
type`“Facebook""Twitter"
urlstring
titlestring
StatusDescription
4001: Group is invalid or does not exist.
4010: Authorization has been denied for this request.
40313: Only users who are over thirteen years of age may edit social links.
40411: Social links cannot be processed as this time.

POST /v1/groups/:groupId/social-links

Posts a social links

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidSocialLinks } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidSocialLinks, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group
FieldTypeDescription
type`01
urlstring
titlestring
FieldTypeDescription
idnumber
type`“Facebook""Twitter"
urlstring
titlestring
StatusDescription
4003: The social link title is too long.
4: The social link title cannot be empty.
5: The social link url cannot be empty.
7: The request was null.
9: The social link type is invalid.
12: The social link title was moderated.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You do not have permission to configure this social link.
4048: The requested group or social link was not found.
50311: Social links cannot be processed as this time.

deleteGroupsGroupidSocialLinksSociallinkid

Section titled “deleteGroupsGroupidSocialLinksSociallinkid”

DELETE /v1/groups/:groupId/social-links/:socialLinkId

Deletes a social link

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidSocialLinksSociallinkid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidSocialLinksSociallinkid, {
groupId: /* integer */,
socialLinkId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the game you are editing, required for permissions checking
socialLinkIdintegerYesThe id of the social link

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
10: The social link is not for a group.
15: The social link id doesn’t match the group id.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You do not have permission to configure this social link.
13: Only users who are over thirteen years of age may edit social links.
40411: Social links cannot be processed as this time.

PATCH /v1/groups/:groupId/social-links/:socialLinkId

Updates a social link

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidSocialLinksSociallinkid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidSocialLinksSociallinkid, {
groupId: /* integer */,
socialLinkId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the universe
socialLinkIdintegerYesThe id of the social link being updated
FieldTypeDescription
type`01
urlstring
titlestring

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
3: The social link title is too long.
4: The social link title cannot be empty.
5: The social link url cannot be empty.
6: The social link url was improperly formatted.
7: The request was null.
8: The requested group or social link was not found.
9: The social link type is invalid.
10: The social link is not for a group.
12: The social link title was moderated.
16: A social link with this type already exists on this group.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You do not have permission to configure this social link.
40411: Social links cannot be processed as this time.
50311: Social links cannot be processed as this time.

PATCH /v1/groups/:groupId/status

Sets group status

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidStatus } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidStatus, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
messagestring
FieldTypeDescription
bodystring
posterobjectSee below
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: Group is invalid or does not exist.
7: Missing group status content.
32: Description was filtered.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
6: You are not authorized to set the status of this group

GET /v1/groups/:groupId/users

Gets a list of users in a group.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidUsers } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidUsers, {
groupId: /* integer */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesThe order the results are sorted in.
FieldTypeDescription
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
userobjectSee below
roleobjectSee below

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4001: The group is invalid or does not exist.
40335: You do not have permission to view this group’s member list.

POST /v1/groups/:groupId/users

Joins a group

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidUsers } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidUsers, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
sessionIdstring
redemptionTokenstring
captchaIdstring
captchaTokenstring
captchaProviderstring
challengeIdstring

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
6: You are already in the maximum number of groups.
9: You do not have the builders club membership necessary to join this group.
14: You cannot join a closed group.
33: You do not have the required verification level to join this group.
34: You do not have the required account tenure to join this group.
4097: You have already requested to join this group.
8: You are already a member of this group.
42910: Too many attempts to join the group. Please try again later.
50318: The operation is temporarily unavailable. Please try again later.

DELETE /v1/groups/:groupId/users/:userId

Removes a user from a group

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidUsersUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidUsersUserid, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
userIdintegerYesThe Id of the user being removed.

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
3: The user is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
4: You do not have permission to manage this member.
25: 2-Step Verification is required to make further transactions. Go to Settings > Security to complete 2-Step Verification.
50318: The operation is temporarily unavailable. Please try again later.

PATCH /v1/groups/:groupId/users/:userId

Updates a users role in a group.

Usage
import { fetchApi } from 'rozod';
import { patchGroupsGroupidUsersUserid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsGroupidUsersUserid, {
groupId: /* integer */,
userId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe id of the group the user is in.
userIdintegerYesThe id of the user being updated.
FieldTypeDescription
roleIdnumber

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
2: The roleset is invalid or does not exist.
3: The user is invalid or does not exist.
23: You cannot change your own role.
26: You cannot change the user’s role to the same role.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
4: You do not have permission to manage this member.
50318: The operation is temporarily unavailable. Please try again later.

GET /v1/groups/:groupId/users/:userId/permissions

Gets the permissions a user has in a group. Only available to group owner and RCC

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidUsersUseridPermissions } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidUsersUseridPermissions, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
userIdintegerYesThe user id.
FieldTypeDescription
groupIdnumber
roleobjectSee below
permissionsobjectSee below

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

permissions fields:

FieldTypeDescription
groupPostsPermissionsobjectSee below
groupForumsPermissionsobjectSee below
groupContentModerationPermissionsobjectSee below
groupMembershipPermissionsobjectSee below
groupManagementPermissionsobjectSee below
groupEconomyPermissionsobjectSee below
groupOpenCloudPermissionsobjectSee below

groupPostsPermissions fields:

FieldTypeDescription
viewWallboolean
postToWallboolean
deleteFromWallboolean
viewStatusboolean
postToStatusboolean

groupForumsPermissions fields:

FieldTypeDescription
viewForumsboolean
manageCategoriesboolean
createPostsboolean
removePostsboolean
lockPostsboolean
pinPostsboolean
createCommentsboolean
removeCommentsboolean

groupContentModerationPermissions fields:

FieldTypeDescription
manageKeywordBlockListboolean
viewKeywordBlockListboolean

groupMembershipPermissions fields:

FieldTypeDescription
changeRankboolean
inviteMembersboolean
removeMembersboolean
banMembersboolean

groupManagementPermissions fields:

FieldTypeDescription
manageRelationshipsboolean
manageClanboolean
viewAuditLogsboolean
bypassSlowmodeboolean

groupEconomyPermissions fields:

FieldTypeDescription
spendGroupFundsboolean
advertiseGroupboolean
createItemsboolean
manageItemsboolean
addGroupPlacesboolean
manageGroupGamesboolean
viewGroupPayoutsboolean
viewAnalyticsboolean

groupOpenCloudPermissions fields:

FieldTypeDescription
useCloudAuthenticationboolean
administerCloudAuthenticationboolean
StatusDescription
4001: Group is invalid or does not exist.
4033: You are not authorized to view/edit permissions for this role.
4043: The user is invalid or does not exist.

GET /v1/groups/:groupId/wall/posts

Gets a list of group wall posts.

Usage
import { fetchApi } from 'rozod';
import { getGroupsGroupidWallPosts } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsGroupidWallPosts, {
groupId: /* integer */,
cursor: /* string? */,
sortOrder: /* enum */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
cursorstring?NoThe paging cursor for the previous or next page.
sortOrderenumYesSorted by group wall post Id
FieldTypeDescription
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
idnumber
posterobjectSee below
bodystring
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: The group is invalid or does not exist.
4032: You do not have permission to access this group wall.

POST /v1/groups/:groupId/wall/posts

Creates a post on a group wall

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidWallPosts } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidWallPosts, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
FieldTypeDescription
bodystring
captchaIdstring
captchaTokenstring
captchaProviderstring
challengeIdstring
FieldTypeDescription
idnumber
posterobjectSee below
bodystring
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4001: The group is invalid or does not exist.
5: Your post was empty, white space, or more than 500 characters.
9: The provided content was moderated.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You do not have permission to access this group wall.
4051: The group is invalid or does not exist.
4294: You are posting too fast, please try again in a few minutes.

DELETE /v1/groups/:groupId/wall/posts/:postId

Deletes a group wall post.

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidWallPostsPostid } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidWallPostsPostid, {
groupId: /* integer */,
postId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
postIdintegerYesThe group wall post id.

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
3: The group wall post id is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You do not have permission to access this group wall.

POST /v1/groups/:groupId/wall/subscribe

Subscribes the authenticated user to notifications of group wall events.

Usage
import { fetchApi } from 'rozod';
import { postGroupsGroupidWallSubscribe } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsGroupidWallSubscribe, {
groupId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You do not have permission to access this group wall.

DELETE /v1/groups/:groupId/wall/users/:userId/posts

Deletes all group wall posts made by a specific user.

Usage
import { fetchApi } from 'rozod';
import { deleteGroupsGroupidWallUsersUseridPosts } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteGroupsGroupidWallUsersUseridPosts, {
groupId: /* integer */,
userId: /* integer */
});
NameTypeRequiredDescription
groupIdintegerYesThe group id.
userIdintegerYesThe user id.

Type: unknown

StatusDescription
4001: The group is invalid or does not exist.
6: The user specified is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You do not have permission to access this group wall.

GET /v1/groups/configuration/metadata

Gets Group configuration contextual information

Usage
import { fetchApi } from 'rozod';
import { getGroupsConfigurationMetadata } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsConfigurationMetadata, undefined);
FieldTypeDescription
groupConfigurationobjectSee below
recurringPayoutsConfigurationobjectSee below
roleConfigurationobjectSee below
groupNameChangeConfigurationobjectSee below
isPremiumPayoutsEnabledboolean
isDefaultEmblemPolicyEnabledboolean

groupConfiguration fields:

FieldTypeDescription
nameMaxLengthnumber
descriptionMaxLengthnumber
iconMaxFileSizeMbnumber
coverPhotoMaxFileSizeMbnumber
validCoverPhotoDimensionsstring
costnumber
isUsingTwoStepWebviewComponentboolean

recurringPayoutsConfiguration fields:

FieldTypeDescription
maxPayoutPartnersnumber

roleConfiguration fields:

FieldTypeDescription
nameMaxLengthnumber
descriptionMaxLengthnumber
limitnumber
costnumber
minRanknumber
maxRanknumber

groupNameChangeConfiguration fields:

FieldTypeDescription
costnumber
cooldownInDaysnumber
ownershipCooldownInDaysnumber

POST /v1/groups/create

Creates a new group.

Usage
import { fetchApi } from 'rozod';
import { postGroupsCreate } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsCreate, {
body: { /* ... */ }
});
FieldTypeDescription
namestring
descriptionstring
publicGroupboolean
buildersClubMembersOnlyboolean
FilesFile
FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
memberCountnumber
createdstring
hasVerifiedBadgeboolean

owner fields:

FieldTypeDescription
idnumber
type'User'
namestring
StatusDescription
40013: The name is invalid.
15: The group icon is invalid.
16: The group icon is missing from the request.
18: The description is too long.
19: The name is too long.
20: The name has been taken.
46: Invalid file format or dimensions for group cover photo.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
10: User must have builders club membership.
11: User is in maximum number of groups.
12: Insufficient Robux funds.
14: The name is moderated.
40937: The name was in use too recently.
4130: Unknown error.
42917: Too many requests.
50321: Group creation is currently disabled.

PATCH /v1/groups/icon

Updates the group icon.

Usage
import { fetchApi } from 'rozod';
import { patchGroupsIcon } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(patchGroupsIcon, {
groupId: /* integer */,
body: { /* ... */ }
});
NameTypeRequiredDescription
groupIdintegerYesThe group Id.
FieldTypeDescription
FilesFile

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
16: The group icon is missing from the request.
17: Too many requests.
30: Invalid file type for group icon.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
23: Insufficient permissions to complete the request.
4130: Unknown error.

GET /v1/groups/metadata

Gets Groups contextual information:

Usage
import { fetchApi } from 'rozod';
import { getGroupsMetadata } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsMetadata, undefined);
FieldTypeDescription
groupLimitnumber
currentGroupCountnumber
groupStatusMaxLengthnumber
groupPostMaxLengthnumber
isGroupWallNotificationsEnabledboolean
groupWallNotificationsSubscribeIntervalInMillisecondsnumber
areProfileGroupsHiddenboolean
isGroupDetailsPolicyEnabledboolean
showPreviousGroupNamesboolean
areGroupBansEnabledboolean
canEnableGroupNotificationsboolean

POST /v1/groups/policies

Gets group policy info used for compliance.

Usage
import { fetchApi } from 'rozod';
import { postGroupsPolicies } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postGroupsPolicies, {
body: { /* ... */ }
});
FieldTypeDescription
groupIdsnumber[]
FieldTypeDescription
groupsobject[]See below

groups[] item fields:

FieldTypeDescription
canViewGroupboolean
groupIdnumber
StatusDescription
4001: Too many ids in request.
2: Ids could not be parsed from request.
4010: Authorization has been denied for this request.
4030: Token Validation Failed

GET /v1/groups/search

Search for groups by keyword.

Usage
import { fetchApi } from 'rozod';
import { getGroupsSearch } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsSearch, {
keyword: /* string */,
prioritizeExactMatch: /* boolean? */,
cursor: /* string? */
});
NameTypeRequiredDescription
keywordstringYesThe keyword or phrase to use as the search parameter.
prioritizeExactMatchboolean?NoWhether or not to prioritize the exact match for the keyword (optional, defaults to false).
cursorstring?NoThe paging cursor for the previous or next page.
FieldTypeDescription
keywordstring
previousPageCursorstring
nextPageCursorstring
dataobject[]See below

data[] item fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
memberCountnumber
previousNamestring
publicEntryAllowedboolean
createdstring
updatedstring
hasVerifiedBadgeboolean
StatusDescription
4002: Search term not appropriate for Roblox.
3: Search term was left empty.
4: Search terms can be 2 to 50 characters long.

GET /v1/groups/search/lookup

Looks up groups by a name. Prioritizes an exact match as the first result.

Usage
import { fetchApi } from 'rozod';
import { getGroupsSearchLookup } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsSearchLookup, {
groupName: /* string */
});
NameTypeRequiredDescription
groupNamestringYesThe group name.
FieldTypeDescription
dataobject[]See below

data[] item fields:

FieldTypeDescription
idnumber
namestring
memberCountnumber
hasVerifiedBadgeboolean
StatusDescription
4001: Name is missing or has invalid characters.

GET /v1/groups/search/metadata

Get suggested groups and other miscellaneous information needed for the group/join page like flags

Usage
import { fetchApi } from 'rozod';
import { getGroupsSearchMetadata } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getGroupsSearchMetadata, undefined);
FieldTypeDescription
SuggestedGroupKeywordsstring[]
ShowFriendsGroupsSortboolean
StatusDescription
4045: No Localized Version of group search category exists

GET /v1/roles

Gets the Roles by their ids.

Usage
import { fetchApi } from 'rozod';
import { getRoles } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getRoles, {
ids: /* number */
});
NameTypeRequiredDescription
idsnumberYesA list of role ids
FieldTypeDescription
dataobject[]See below

data[] item fields:

FieldTypeDescription
groupIdnumber
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean
StatusDescription
4001: Ids could not be parsed from request.
2: Too many ids in request.

GET /v1/user/groups/pending

Gets groups that the authenticated user has requested to join

Usage
import { fetchApi } from 'rozod';
import { getUserGroupsPending } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getUserGroupsPending, undefined);
FieldTypeDescription
dataobject[]See below

data[] item fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
shoutobjectSee below
memberCountnumber
isBuildersClubOnlyboolean
publicEntryAllowedboolean
isLockedboolean
hasVerifiedBadgeboolean
hasSocialModulesboolean

owner fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

shout fields:

FieldTypeDescription
bodystring
posterobjectSee below
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring
StatusDescription
4010: Authorization has been denied for this request.

POST /v1/user/groups/primary

Sets the authenticated user’s primary group

Usage
import { fetchApi } from 'rozod';
import { postUserGroupsPrimary } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(postUserGroupsPrimary, {
body: { /* ... */ }
});
FieldTypeDescription
groupIdnumber

Type: unknown

StatusDescription
4001: Group is invalid or does not exist.
4010: Authorization has been denied for this request.
4030: Token Validation Failed
2: You aren’t a member of the group specified.

DELETE /v1/user/groups/primary

Removes the authenticated user’s primary group

Usage
import { fetchApi } from 'rozod';
import { deleteUserGroupsPrimary } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(deleteUserGroupsPrimary, undefined);

Type: unknown

StatusDescription
4010: Authorization has been denied for this request.
4030: Token Validation Failed

GET /v1/users/:userId/friends/groups/roles

Gets a list of all groups the specified users’ friends are in.

Usage
import { fetchApi } from 'rozod';
import { getUsersUseridFriendsGroupsRoles } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getUsersUseridFriendsGroupsRoles, {
userId: /* integer */
});
NameTypeRequiredDescription
userIdintegerYesThe user id.
FieldTypeDescription
dataobject[]See below

data[] item fields:

FieldTypeDescription
userobjectSee below
groupsobject[]See below

user fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

groups[] item fields:

FieldTypeDescription
groupobjectSee below
roleobjectSee below
isPrimaryGroupboolean
isNotificationsEnabledboolean
notificationPreferencesobject[]See below

group fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
shoutobjectSee below
memberCountnumber
isBuildersClubOnlyboolean
publicEntryAllowedboolean
isLockedboolean
hasVerifiedBadgeboolean
hasSocialModulesboolean

owner fields:

FieldTypeDescription
buildersClubMembershipTypeobject
hasVerifiedBadgeobject
userIdobject
usernameobject
displayNameobject

shout fields:

FieldTypeDescription
bodyobject
posterobject
createdobject
updatedobject

poster fields:

object

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

notificationPreferences[] item fields:

FieldTypeDescription
type`“AnnouncementCreatedNotification""ForumPostCreatedNotification"
enabledboolean
namestring
descriptionstring
StatusDescription
4003: The user is invalid or does not exist.
4033: The user is invalid or does not exist.

GET /v1/users/:userId/groups/primary/role

Gets a user’s primary group.

Usage
import { fetchApi } from 'rozod';
import { getUsersUseridGroupsPrimaryRole } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getUsersUseridGroupsPrimaryRole, {
userId: /* integer */
});
NameTypeRequiredDescription
userIdintegerYesThe user id.
FieldTypeDescription
groupobjectSee below
roleobjectSee below
isPrimaryGroupboolean
isNotificationsEnabledboolean
notificationPreferencesobject[]See below

group fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
shoutobjectSee below
memberCountnumber
isBuildersClubOnlyboolean
publicEntryAllowedboolean
isLockedboolean
hasVerifiedBadgeboolean
hasSocialModulesboolean

owner fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

shout fields:

FieldTypeDescription
bodystring
posterobjectSee below
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

notificationPreferences[] item fields:

FieldTypeDescription
type`“AnnouncementCreatedNotification""ForumPostCreatedNotification"
enabledboolean
namestring
descriptionstring
StatusDescription
4004: User is invalid or does not exist.

GET /v1/users/:userId/groups/roles

Gets a list of all group roles for groups the specified user is in.

Usage
import { fetchApi } from 'rozod';
import { getUsersUseridGroupsRoles } from 'rozod/lib/endpoints/groupsv1';
const data = await fetchApi(getUsersUseridGroupsRoles, {
userId: /* integer */,
includeLocked: /* boolean? */,
includeNotificationPreferences: /* boolean? */,
discoveryType: /* unknown */
});
NameTypeRequiredDescription
userIdintegerYesThe user id.
includeLockedboolean?No
includeNotificationPreferencesboolean?No
discoveryTypeunknownYes
FieldTypeDescription
dataobject[]See below

data[] item fields:

FieldTypeDescription
groupobjectSee below
roleobjectSee below
isPrimaryGroupboolean
isNotificationsEnabledboolean
notificationPreferencesobject[]See below

group fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ownerobjectSee below
shoutobjectSee below
memberCountnumber
isBuildersClubOnlyboolean
publicEntryAllowedboolean
isLockedboolean
hasVerifiedBadgeboolean
hasSocialModulesboolean

owner fields:

FieldTypeDescription
buildersClubMembershipType`01
hasVerifiedBadgeboolean
userIdnumber
usernamestring
displayNamestring

shout fields:

FieldTypeDescription
bodystring
posterobjectSee below
createdstring
updatedstring

poster fields:

FieldTypeDescription
buildersClubMembershipTypeobject
hasVerifiedBadgeobject
userIdobject
usernameobject
displayNameobject

role fields:

FieldTypeDescription
idnumber
namestring
descriptionstring
ranknumber
memberCountnumber
isBaseboolean

notificationPreferences[] item fields:

FieldTypeDescription
type`“AnnouncementCreatedNotification""ForumPostCreatedNotification"
enabledboolean
namestring
descriptionstring
StatusDescription
4003: The user is invalid or does not exist.