Calven
  1. Warehouse - Basic Auth
Calven
  • Overview
  • Key Access Levels
  • Basic Authentication Overview
  • HMAC Authentication Overview
  • SDKs
  • Calven Data Models
  • HMAC Authentication
    • Generate a token with an API key and HMAC
      POST
    • Generate a token with an API key and client secret
      POST
  • Presence
    • Presence Overview
    • Submit presence events with BASIC auth
      POST
    • Submit presence events
      POST
  • Occupancy
    • Occupancy Overview
    • Submit occupancy events
      POST
  • Time off
    • Submit time off updates
      POST
  • Access Credentials
    • Submit access credentials
      POST
  • Warehouse - Basic Auth
    • Warehouse Overview
    • Users
      GET
    • Locations
      GET
    • Desks
      GET
    • Bookings & Attendance
      GET
    • Presence Details
      GET
    • User Actions Log
      GET
  • Warehouse - HMAC Auth
    • Warehouse Overview
    • Users
      GET
    • Locations
      GET
    • Desks
      GET
    • Bookings & Attendance
      GET
    • Presence
      GET
    • User Actions Log
      GET
  1. Warehouse - Basic Auth

Locations

GET
/v1/analytics/locations/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 *****************

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/locations/basic' \
--header 'Authorization: Basic Og=='

Responses

🟢200OK
application/json
Body
array of:
address
string 
required
The address of the location
Example:
123 Main St, Anytown, Australia
locationId
string 
required
The id of the location
Example:
location1
locationName
string 
required
The name of the location
Example:
Main Office
status
enum<string> 
required
The location status
Allowed values:
activearchiveddisabled
Example:
active
Example
[
    {
        "address": "123 Main St, Anytown, Australia",
        "locationId": "location1",
        "locationName": "Main Office",
        "status": "active"
    }
]
Modified at 2025-04-03 13:54:25
Previous
Users
Next
Desks
Built with