Skip to main content
GET
/
guilds
/
{guild_id}
/
audit-logs
List guild audit logs
curl --request GET \
  --url https://api.fluxer.app/v1/guilds/{guild_id}/audit-logs \
  --header 'Authorization: <api-key>'
{
  "audit_log_entries": [
    {
      "id": "<string>",
      "action_type": 1,
      "user_id": "<string>",
      "target_id": "<string>",
      "reason": "<string>",
      "options": {
        "channel_id": "<string>",
        "count": 123,
        "delete_member_days": "<string>",
        "id": "<string>",
        "integration_type": 123,
        "message_id": "<string>",
        "members_removed": 123,
        "role_name": "<string>",
        "type": 123,
        "inviter_id": "<string>",
        "max_age": 123,
        "max_uses": 123,
        "temporary": true,
        "uses": 123
      },
      "changes": [
        {
          "key": "<string>",
          "old_value": "<string>",
          "new_value": "<string>"
        }
      ]
    }
  ],
  "users": [
    {
      "id": "<string>",
      "username": "<string>",
      "discriminator": "<string>",
      "global_name": "<string>",
      "avatar": "<string>",
      "avatar_color": 1073741823,
      "flags": 1073741823,
      "bot": true,
      "system": true
    }
  ],
  "webhooks": [
    {
      "id": "<string>",
      "type": 1,
      "name": "<string>",
      "guild_id": "<string>",
      "channel_id": "<string>",
      "avatar_hash": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Path Parameters

guild_id
string<snowflake>
required

The ID of the guild

Query Parameters

limit
integer<int32>
Required range: 0 <= x <= 2147483647
before
string<snowflake>
after
string<snowflake>
user_id
string<snowflake>
action_type
enum<integer>

The type of action that occurred

Available options:
1,
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

Response

Success

audit_log_entries
object[]
required

Array of audit log entries

Maximum array length: 100
users
object[]
required

Users referenced in the audit log entries

Maximum array length: 100
webhooks
object[]
required

Webhooks referenced in the audit log entries

Maximum array length: 100