Organisation
List Roles
List the built-in and custom roles you can assign to members.
GET
Preview. This endpoint is available to organisations in the Wordsmith MCP pilot. Other organisations receive
403 mcp_not_enabled. See the preview overview.custom_role_ids on a member, or to find a role to pass to Update Member or Create Invite.
There are two kinds:
- Predefined roles have
type: "predefined"and the fixed idsviewer,full_userandadmin. Every organisation has them. An admin can turn one off, which setsactivetofalse. - Custom roles have
type: "custom"and a UUID id. Your admins build them from permission groups in Settings. They appear only on plans that include custom roles.
active: false cannot be assigned. member_count counts the members who hold the role, suspended members included. Predefined roles have no description.
Creating and editing custom roles is not part of this proposal. Do that in Settings.
Authentication
Requires an API key, or an OAuth token withdirectory:read. The caller must also be able to assign or manage roles: an organisation admin, or a role with either permission.
Query parameters
enum
Return only
predefined or only custom roles.string
The
cursor from the previous page.integer
default:"50"
Roles per page, up to 200.
Response
Returns200 with a page of roles. Predefined roles come first, in the order viewer, full_user, admin, then custom roles by name.