Skip to main content
GET
/
api
/
v1
/
mgt
/
workspaces
/
{workspaceId}
/
users
Get Users
curl --request GET \
  --url https://api.xenia.team/api/v1/mgt/workspaces/{workspaceId}/users \
  --header 'x-client-key: <api-key>' \
  --header 'x-client-secret: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "firstName": "<string>",
      "lastName": "<string>",
      "fullName": "<string>",
      "emailId": "<string>",
      "phoneNo": "<string>",
      "photo": "<string>",
      "timezone": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z",
      "roleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "role": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "title": "<string>",
        "description": "<string>",
        "order": 123,
        "permissions": {}
      },
      "locations": [
        {
          "locationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      ]
    }
  ],
  "extra_meta": {}
}

Authorizations

x-client-key
string
header
required

Client API key for authentication

x-client-secret
string
header
required

Client secret for authentication

Path Parameters

workspaceId
string<uuid>
required

The UUID of the workspace

Response

List of users

data
object[]
extra_meta
object