cURL
curl --request GET \ --url https://core.ermbot.xyz/api/v1/moderations \ --header 'Authorization: <api-key>' \ --header 'Guild: <api-key>'
{ "data": [ { "id": { "$oid": "<string>" }, "user_id": 123, "username": "<string>", "guild": 123, "type_": "<string>", "reason": "<string>", "moderator": "<string>", "moderator_id": 123, "epoch": 123, "until_epoch": 123 } ], "pagination": { "next_cursor": 123, "limit": 123, "has_more": true } }
Retrieve moderation records using Discord snowflake pagination
1090340521350131742
List of moderations
The response is of type object.
object