cURL
curl --request GET \ --url https://core.ermbot.xyz/api/v1/leaves \ --header 'Authorization: <api-key>' \ --header 'Guild: <api-key>'
{ "data": [ { "id": { "$oid": "<string>" }, "user_id": 123, "reason": "<string>", "message_id": 123, "type_": "<string>", "guild": 123, "expiry": 123, "expired": true, "accepted": true, "denied": true, "voided": true } ], "pagination": { "next_cursor": 123, "limit": 123, "has_more": true } }
Retrieve leave records using epoch timestamp pagination
1702544876
List of leaves
The response is of type object.
object