1. Warehouse - Basic Auth
Calven Developer Docs
latest
  • latest
  • beta
  • Default module
    • Overview
    • Access Control
    • Basic Authentication
    • HMAC Authentication
    • SDKs
    • Calven Data Models
    • Changelog
    • Authentication
      • Generate a token with an API key and HMAC
      • Generate a token with an API key and client secret
    • Presence
      • Presence Overview
      • Submit presence events
      • Submit presence events (Basic auth)
    • Occupancy
      • Occupancy Overview
      • Submit occupancy events
    • Time Off
      • Submit time off updates
    • Access Credentials
      • Submit access credentials
    • Warehouse - Basic Auth
      • Warehouse API (Basic Auth)
      • Users (Basic auth)
        GET
      • Groups (Basic auth)
        GET
      • Locations (Basic auth)
        GET
      • Desks (Basic auth)
        GET
      • Bookings & Attendance (Basic auth)
        GET
      • Presence (Basic auth)
        GET
      • User Actions Log (Basic auth)
        GET
      • Events (Basic auth)
        GET
    • Warehouse - HMAC Auth
      • Warehouse API (HMAC Auth)
      • Users
      • Groups
      • Locations
      • Desks
      • Bookings & Attendance
      • Presence
      • User Actions Log
      • Events
    • Hierarchy Information
      • Org Hierarchy Information Overview
      • Submit group hierarchy relationships
      • Submit group hierarchy relationships (Basic auth)
    • Parking
      • Retrieve parking bookings
      • Retrieve parking bookings (Basic auth)
    • Service Requests
      • Service Types
      • Service Type
      • Submit a service request
      • Service Request
      • Update a service request
    • User Attributes
      • User Attributes Overview
      • Write directory user attributes
      • Write directory user attributes (Basic auth)
    • Visitor Management
      • Submit visitor arrival events
      • Submit visitor arrival events (Basic auth)
  1. Warehouse - Basic Auth

Desks (Basic auth)

GET
/v1/analytics/desks/basic
Requires the location:read and user:profile:read permissions.

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

Request Code 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 'https://api.calven.com/v1/analytics/desks/basic?locationId=' \
--header 'Authorization: Basic <encoded-value>'

Responses

🟢200OK
application/json
Bodyapplication/json

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 2026-11-19 03:25:44
Previous
Locations (Basic auth)
Next
Bookings & Attendance (Basic auth)
Built with