Skip to main content
GET
/
api
/
v1
/
task
/
workspaces
/
{workspaceId}
/
authorized
/
users
Get Authorized Users
curl --request GET \
  --url https://api.xenia.team/api/v1/task/workspaces/{workspaceId}/authorized/users \
  --header 'x-client-key: <api-key>' \
  --header 'x-client-secret: <api-key>'
{
  "data": [
    {
      "photo": "<string>",
      "fullName": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "firstName": "<string>",
      "lastName": "<string>",
      "emailId": "<string>",
      "phoneNo": "<string>",
      "deletedAt": "2023-11-07T05:31:56Z",
      "timezone": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "UserHotels": [
        {
          "HotelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "title": "<string>",
          "defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "pin": "<string>",
          "status": "<string>",
          "isAdmin": true,
          "RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "deletedAt": "2023-11-07T05:31:56Z",
          "Role": {
            "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
            "title": "<string>",
            "description": "<string>",
            "order": 123,
            "Permissions": {
              "CAN_MANAGE_WORKSPACES": true,
              "CAN_MANAGE_WORKSPACE_CONFIG": true,
              "CAN_MANAGE_BILLING": true,
              "CAN_TOGGLE_KIOSK_MODE": true,
              "CAN_MANAGE_ACTIVITY_LOGS": true
            }
          }
        }
      ],
      "UserLocations": [
        {
          "LocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      ],
      "RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "UserHotel": {
        "HotelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "title": "<string>",
        "defaultLocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "pin": "<string>",
        "status": "<string>",
        "isAdmin": true,
        "RoleId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "deletedAt": "2023-11-07T05:31:56Z",
        "Role": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "title": "<string>",
          "description": "<string>",
          "order": 123,
          "Permissions": {
            "CAN_MANAGE_WORKSPACES": true,
            "CAN_MANAGE_WORKSPACE_CONFIG": true,
            "CAN_MANAGE_BILLING": true,
            "CAN_TOGGLE_KIOSK_MODE": true,
            "CAN_MANAGE_ACTIVITY_LOGS": true
          }
        }
      }
    }
  ],
  "extra_meta": {
    "message": "<string>"
  }
}

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required

The UUID of the workspace

Response

List of authorized users

data
object[]
required
extra_meta
object
I