Skip to main content
Lists the roles of your team: the three built-in roles plus this team’s custom roles. The key is what the role fields of member and invitation writes accept. The owner role is never assignable through this API, and a role marked admin_grant_only can be granted only by the owner or a member holding the admin baseline (through their role or an access group). Both flags describe the role, not you: they are the same for every caller. Any member may read this.
Permission required: none — any member’s key can call this

Response

object

Errors

Errors answer with success: false, a message and an error_code. See Error Codes for every code.