Skip to main content
POST
/
admin
/
reports
/
search
Search reports
curl --request POST \
  --url https://api.fluxer.app/v1/admin/reports/search \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "limit": 100,
  "offset": 4503599627370495,
  "reporter_id": "<string>",
  "status": 0,
  "report_type": 0,
  "category": "<string>",
  "reported_user_id": "<string>",
  "reported_guild_id": "<string>",
  "reported_channel_id": "<string>",
  "guild_context_id": "<string>",
  "resolved_by_admin_id": "<string>",
  "sort_by": "createdAt",
  "sort_order": "asc"
}
'
{
  "reports": [
    {
      "report_id": "<string>",
      "reporter_id": "<string>",
      "reporter_tag": "<string>",
      "reporter_username": "<string>",
      "reporter_discriminator": "<string>",
      "reporter_email": "<string>",
      "reporter_full_legal_name": "<string>",
      "reporter_country_of_residence": "<string>",
      "reported_at": "<string>",
      "status": 0,
      "report_type": 0,
      "category": "<string>",
      "additional_info": "<string>",
      "reported_user_id": "<string>",
      "reported_user_tag": "<string>",
      "reported_user_username": "<string>",
      "reported_user_discriminator": "<string>",
      "reported_user_avatar_hash": "<string>",
      "reported_guild_id": "<string>",
      "reported_guild_name": "<string>",
      "reported_message_id": "<string>",
      "reported_channel_id": "<string>",
      "reported_channel_name": "<string>",
      "reported_guild_invite_code": "<string>",
      "resolved_at": "<string>",
      "resolved_by_admin_id": "<string>",
      "public_comment": "<string>",
      "mutual_dm_channel_id": "<string>",
      "message_context": [
        {
          "id": "<string>",
          "channel_id": "<string>",
          "guild_id": "<string>",
          "content": "<string>",
          "timestamp": "<string>",
          "attachments": [
            {
              "filename": "<string>",
              "url": "<string>"
            }
          ],
          "author_id": "<string>",
          "author_username": "<string>",
          "author_discriminator": "<string>"
        }
      ]
    }
  ],
  "total": 123,
  "offset": 123,
  "limit": 123
}

Authorizations

Authorization
string
header
required

Admin API key: Authorization: Admin <token>. Only valid for /admin/* endpoints.

Body

application/json
query
string

Search query string

limit
integer<int32>

Maximum number of entries to return

Required range: 1 <= x <= 200
offset
integer<int64>

Number of entries to skip

Required range: 0 <= x <= 9007199254740991
reporter_id
string<snowflake>
status
enum<integer>

The status of the report

Available options:
0,
1
report_type
enum<integer>

The type of entity being reported

Available options:
0,
1,
2
category
string

Filter by report category

reported_user_id
string<snowflake>
reported_guild_id
string<snowflake>
reported_channel_id
string<snowflake>
guild_context_id
string<snowflake>
resolved_by_admin_id
string<snowflake>
sort_by
enum<string>

Field to sort reports by

Available options:
createdAt,
reportedAt,
resolvedAt
sort_order
enum<string>

Sort order direction

Available options:
asc,
desc

Response

Success

reports
object[]
required
total
number
required
offset
number
required
limit
number
required