- Overview
- Key Access Levels
- Basic Authentication Overview
- HMAC Authentication Overview
- SDKs
- Calven Data Models
- HMAC Authentication
- Presence
- Occupancy
- Time off
- Access Credentials
- Warehouse - Basic Auth
- Warehouse - HMAC Auth
Desks
GET
/v1/analytics/desks/basic
analytics
Request
Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string {{Username}}:{{Password}}Example:
Authorization: Basic *****************
Query Params
locationId
string
required
Example:
3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.calven.com/v1/analytics/desks/basic?locationId' \
--header 'Authorization: Basic Og=='
Responses
🟢200OK
application/json
Body
array of:
assignedUserId
object
required
Example:
3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b
assignedUserName
object
required
Example:
johndoe@calven.com
levelId
string
required
Example:
3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b
levelName
string
required
Example:
Level 1
placeId
string
required
Example:
3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b
placeName
string
required
Example:
Main Office
type
enum<string>
required
Allowed values:
assigneddisabledshared
Example:
assigned
zoneId
string
required
Example:
3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b
zoneName
string
required
Example:
Zone A
Example
[
{
"assignedUserId": "3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b",
"assignedUserName": "johndoe@calven.com",
"levelId": "3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b",
"levelName": "Level 1",
"placeId": "3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b",
"placeName": "Main Office",
"type": "assigned",
"zoneId": "3a2b0fd7-5f5a-4472-ab61-a2cc1784d38b",
"zoneName": "Zone A"
}
]
Modified at 2025-04-03 13:54:25