List Discord members
/api/discord/membersMembers in the server by default; state=left shows people who left, state=all both. search matches the display name, username, global name, nickname and the id, case-insensitively. role is a Discord role id and may be repeated: people holding any of them. notRole, also repeatable, leaves out people holding any of those; noRole=true keeps only people with no role. bot, pending, timedOut and boosting are true or false. joinedFrom and joinedTo narrow to people who joined inside that stretch. linked=linked shows only people with a linked VRChat account and linked=not-linked only people without; both need See profiles, as does linkedVRChat on each member. Newest joiners first unless sort=oldest or sort=name. roles lists the server's roles with how many current members hold each.
coverage.listedAt is null until the bot has read the whole member list once; the list is partial until then.
Needs the ViewMembers permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
Also accepted as state.
date-timedate-timeint32int32Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/discord/members"{ "members": [ { "userId": "string", "username": "string", "displayName": "string", "plainName": null, "globalName": null, "nickname": null, "avatarUrl": null, "isBot": true, "joinedAt": null, "leftAt": null, "roles": [ { "id": "string", "name": null, "color": 0 } ], "timedOutUntil": null, "isPending": true, "boostingSince": null, "firstSeenAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "linkedVRChat": null } ], "total": 0, "page": 0, "pageSize": 0, "coverage": { "guildId": null, "listedAt": null, "inServer": 0, "now": "2019-08-24T14:15:22Z" }, "roles": [ { "id": "string", "name": null, "color": 0, "members": 0 } ]}Search people for filters GET
People to pick for a channel's filters, by name or id. Searches the VRChat profiles Modbot has stored, the same way the member list searches: case-insensitively on the display name and the id. Also searches the Discord server's members and the Discord accounts members linked, by name and id. `platform` says which list an id goes in. Needs the `ManageSettings` permission.
Get Discord member GET
One member of the Discord server, current or past. Needs the `ViewMembers` permission.