Export list
/api/lists/{id}/exportEverybody in a list right now, as a CSV or JSON file. The file leaves Modbot: once downloaded, retention and purge no longer reach it. Every export is recorded with who asked, the format, how many people and which columns.
Needs the ViewMembers and ViewProfile permissions.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/lists/497f6eca-6276-4993-bfeb-53cbbbba6f08/export" \ -H "Content-Type: application/json" \ -d '{ "format": null }'Update list PUT
Change a list's name or rules. A list a giveaway still being run names needs Run giveaways as well; one auto-invites names needs Set up auto-invites; one a Discord role is given from needs Manage role and ban sync. Needs the `ManageLists` permission.
List log lines GET
Modbot's own log, newest first. `level` is the lowest level shown, so `Warning` gives warnings, errors and fatal lines. `text` matches the message and the exception, anywhere in either. Outbound API traffic is not in this table. It is written to `modbot_log_http_*.jsonl` and to Seq, and there is far too much of it to keep for six months in the database. Needs the `ViewOperationalLog` permission.