Skip to content

List Members

Endpoint used to list members from a workspace in Toolzz Bots.

Terminal window
curl --request GET \
--url 'https://bots.toolzz.ai/api/v1/workspaces/{workspaceId}/members' \
--header 'Authorization: Bearer <token>'
{
"members": [
{
"workspaceId": "<string>",
"role": "<string>",
"user": {
"name": "<string>",
"email": "<string>",
"image": "<string>"
}
}
]
}
ParameterTypeDescriptionRequired
AuthorizationStringAccess token (must contain “Bearer” before the token)Yes
ParameterTypeDescriptionRequired
workspaceIdstringThe unique identifier of the workspace to list members from.Yes

KeyTypeDescription
membersobject[]Workspace members information.
members[].workspaceIdstringThe workspace unique identifier.
members[].rolestringMember role in the workspace.
members[].userobjectThe user data.
members[].user.namestringUser name.
members[].user.emailstringUser email.
members[].user.imagestringUser profile image URL.

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.