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": {}
}Fetches all users in the given workspace
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": {}
}