Guilds
List guild audit logs
List guild audit logs. Requires view_audit_logs permission. Returns guild activity history with pagination and action filtering.
get/guilds/{guild_id}/audit-logs
Path parameters
guild_idstring snowflake required
The ID of the guild
Query parameters
limitinteger
beforestring snowflake
afterstring snowflake
user_idstring snowflake
action_type1 | 10 | 11 | 12 | 13 | 14 | 15 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 31 | 32 | 40 | 41 | 42 | 50 | 51 | 52 | 60 | 61 | 62 | 90 | 91 | 92 | 72 | 73 | 74 | 75
The type of action that occurred
Response
Success
Changes
No recorded changes to this endpoint across all 1 revision of this API.