Calven
    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

    Basic Authentication Overview

    To allow systems that cannot support a two-step auth process to report presence, the /basic endpoints accept basic authentication.
    A specific API key that is enabled for basic authentication is required. This API key cannot be used with the /v1/auth endpoints.
    Contact Calven support to request a basic auth API key.
    On API requests with Basic authentication, typically a header with the following pattern is expected:
    Authorization: Basic {userName}:{password}
    On Calven endpoints with Basic auth, the apiKeyId is used in place of the username and apiSecret is used in place of the password. So the header would be formatted:
    Authorization: Basic {apiKeyId}:{apiSecret}
    Previous
    Key Access Levels
    Next
    HMAC Authentication Overview
    Built with