Groups

The Roblox Groups API allows you to perform almost any action related to a group that you can on the website.

Get group information
To get group information, use the   endpoint.

This endpoint fetches the following information:


 * Group ID
 * Group name
 * Group description
 * Partial information about group owner
 * Builder's Club membership level
 * User ID
 * Username
 * Display name
 * Shout information
 * Shout body
 * Poster information
 * Builder's Club membership level
 * User ID
 * Username
 * Display name
 * Creation date [of group]
 * Update date [of group, including shout]
 * Member count
 * Builder's Club required
 * Public Entry allowed

Get group audit logs
To get group audit logs, use the  endpoint.

Make sure to include the request function seen at X-CSRF-Token somewhere in your file before this code! This endpoint fetches the following information:


 * Previous page cursor
 * Next page cursor
 * Audit log entries [this is an array/list]
 * Action performer
 * Partial information about action performer
 * Builder's Club membership level
 * User ID
 * Username
 * Display name
 * Action performer role information
 * Role ID [this isn't 1-255]
 * Role name
 * Role rank [this is 1-255]
 * Action type
 * Action description
 * Target user ID
 * Target user name
 * Old role ID
 * Old role name
 * New role ID
 * New role name
 * Date action performed

Get group settings
To get group settings, use the  endpoint.

Make sure to include the request function seen at X-CSRF-Token somewhere in your file before this code! This endpoint fetches the following information:


 * Member approval [acceptance] required
 * Builder's Club required
 * Enemies allowed
 * Group funds publicly visible
 * Group games publicly visible
 * Group name change enabled
 * Can change group name