Teams and roles
Every member has one role. Five built-in roles exist, and an owner can add custom ones.
| Role | Access |
|---|---|
| Owner | Everything, including billing and roles. Each organization has one. |
| Admin | Everything except billing and role management. |
| Supervisor | Sees and joins live calls. Can view calls and play recordings for their team. |
| Member | Sees their own calls and recordings. |
| Guest | Can be reached and call out. Sees no history. |
Owner and Admin count as administrators. Supervisor counts as an admin tier for the one-owner rule, but has none of the settings access.
Custom roles
Section titled “Custom roles”A custom role is a named set of permissions. GET /api/workspace/roles/catalogue lists every permission, and /api/workspace/roles creates, edits and deletes roles. Only a role with roles.manage can do this, which Admin does not have. Assigning a role is PUT /api/workspace/members/{member_user_id}/role and also needs roles.manage.
developer.manage
Section titled “developer.manage”developer.manage gives access to the developer console without being an admin: apps, test keys, webhooks and request logs. Any role with settings.manage has the same access.
It does not cover live keys. Making, rolling or revoking a live key needs settings.manage (an admin). Without it the API returns production_requires_administrator. Calls made with a secret key skip this check, because a secret key was already created by an admin.
Asking for your password again
Section titled “Asking for your password again”Some actions ask a signed-in person for their password again, and their authenticator code if two-step sign-in is on. Call POST /api/auth/step-up with password and, when needed, code. It lasts five minutes. Until then the action returns reauthentication_required, and you retry the same request.
The actions are:
- Making a live key, and rolling or revoking a live key.
- Deleting a webhook endpoint.
- Disabling an app, which stops every key of that app.
- Removing a knowledge connection.
- Assigning a role to a member.
- Removing a member from the organization.
Calls made with an API key are never asked, because no person is there to type a password. Five wrong attempts lock step-up for 15 minutes.
Leaving an organization
Section titled “Leaving an organization”POST /api/workspace/leave removes you from the organization you are acting in. It returns 204. The owner cannot leave and gets 403 with “The owner cannot leave. Transfer ownership first.”
An admin removes another member with DELETE /api/workspace/members/{member_user_id}. That also asks for your password again, and the owner cannot be removed.