members

Get Member Roles

Changed on

List the roles a member currently holds.

Roles come back in Discord's own order, highest first, and include roles owned by integrations such as the booster role.

A user who is not in the server answers 404, which is how you tell an outsider apart from a member who simply has no roles.

Requires an API key with the discord.view_members permission.

get/v1/members/{user_id}/roles/

Request

  • Base URL
    https://api.monni.fyi (the document declares no server; this is the origin it was published from)
  • URL
    https://api.monni.fyi/v1/members/{user_id}/roles/
  • Auth
    API key in header X-API-Key

Path parameters

user_idinteger required

Response

Successful Response

user_idstring required

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status