/v1/workspaces/{workspace_uid}/membersReturns the workspace's members in the order they joined, with each member's role and
permissions. is_current_user marks you.
Any workspace role can call this.
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Path parameters
workspace_uidstringRequiredThe workspace's uid. When the route also takes X-Workspace-Slug, both must name the same workspace.
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
The workspace's members.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataarray of objectsShow item attributesHide item attributes
uidstringRequiredUnique identifier of the membership. Use it in /members/{member_uid} paths.
user_uidstringRequiredThe member's user ID.
usernamestringRequiredThe member's username.
emailstringRequiredThe member's email address.
avatar_urlstringAPI-relative path of the member's profile picture. Omitted when they have none.
rolestringRequiredThe member's role.
One ofowneradmindeveloperviewer
permissionsarray of stringsRequiredThe permissions the role grants.
One ofworkspace.readworkspace.manageresource.writeruntime.connectsecrets.readsecrets.managemembers.manageaudit.readbilling.readbilling.manageworkspace.transferworkspace.delete
statusstringRequiredMembership status. Only active members can access the workspace.
One ofactivesuspended
joined_atstring (date-time)RequiredWhen the member joined.
invited_byobjectWho invited the member. Omitted for the owner and when unknown.
Show attributesHide attributes
uidstringRequiredThe user's ID.
usernamestringRequiredThe user's username.
is_current_userbooleanRequiredtrue for your own membership.
Errors
| Status | Meaning |
|---|---|
400 | The request was malformed or failed validation. |
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
Errors use the standard error format.