Deeply API Documentation main logoDeeply API Documentation main logo textDeeply API Documentation main logo text
User GuideServer API Reference
Search...
k
LanguageENKO

© 2026 Deeply Inc.

Deeply Logo Icon

Deeply API Documentation

    Release Notes

    Quick Start

    API Quick Start Guide
    Authorization
    Rate Limit

    Architecture

    Overall Architecture
    Edge Server System

    Events

    Events
    Event Categories
    List Events
    GET
    Get An Event
    GET

    Composite Events

    Composite Events
    List Composite Events
    GET
    Get A Composite Event
    GET
    Listen Live Composite Events
    WebSocket

    Live Events

    Live Events
    Listen Live Events
    WebSocket

    Edges

    Edge Server
    List Edge Servers
    GET
    Get An Edge Server
    GET
    Update Edge Server
    PATCH

    Microphones

    Mic Device
    List Mic Devices
    GET
    Get A Mic Device
    GET
    Update Mic Device
    PATCH

    Auth

    Reissue Token
    GET
    1. Reference
    2. API Quick Start Guide
    3. Authorization

    Authorization

    Learn the roles of the API key and access token, how to send them, and how to interpret auth errors.

    Last updated: November 11, 2026

    Changed in v2026.02.2

    Deeply API uses both an API Key and an Access Token. Those credentials serve different purposes, so using the right one matters.

    Credential Roles

    • API Key: long-lived credential used only for access-token issuance
    • Access Token: Bearer token used for normal API requests

    Do not send the API key to general endpoints. Use the access token instead.

    Using The Access Token

    Include your access token in the Authorization header of all normal API requests using the Bearer token format:

    1
    Authorization: Bearer YOUR_ACCESS_TOKEN

    Example Request

    1
    curl -X GET "http://{{EDGE_IP}}:8100/api/v1/events" -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

    This page uses the local default host shown in Getting Started. If you want to validate the same request against the public HTTPS environment, replace the host with https://openapi.deeplyinc.com.

    When You Need To Issue An Access Token

    If the access token is missing or expired, call the Reissue Token endpoint. That request must use Authorization: Bearer YOUR_API_KEY.

    Error Responses

    If authorization fails, you'll receive one of these responses:

    • 401: Unauthorized - Expired Token
      • You will get this response when your access token is expired, or when the session it was issued for has ended, even before the token's expiry time. Please reissue a new token to renew your session.
    • 401: Unauthorized - Invalid Key
      • You will get this response when the access token is invalid, or when the account has been deactivated. Please check your token and try again.
    • 403: Forbidden - No Key
      • You will get this response when the request does not contain an access token. Please provide a valid access token to continue.

    1
    2
    3
    4
    5
    {
      "detail": {
        "message": "Authentication token expired. Please reissue a new token to renew your session."
      }
    }

    Request Sample With Access Token

    1
    2
    3
    4
    5
    6
    7
    8
    const response = await fetch('http://{{EDGE_IP}}:8100/api/v1/events', {
      method: 'GET',
      headers: {
        "Authorization": "Bearer YOUR_ACCESS_TOKEN"
      }
    });
    
    const data = await response.json();
    API Quick Start Guide
    Rate Limit
    Credential RolesUsing The Access TokenExample RequestWhen You Need To Issue An Access TokenError ResponsesRequest Sample With Access Token