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

    Issue Token
    POST
    Reissue Token
    GET
    1. Reference
    2. Issue Token

    Issue Token

    Issue an access token and a refresh token with your API account credentials.

    Last updated: November 12, 2026

    POST
    /api/v1/auth/token

    Description

    Issue a new Access Token and Refresh Token with your API account credentials (username and password). Call this endpoint once when your integration starts, or again whenever the refresh token has expired.

    API account credentials are not issued from the dashboard. Request them from contact@deeplyinc.com, and Deeply will send them to you by email.

    Authentication

    This endpoint does not use an Authorization header. Send the API account credentials in the JSON request body.

    Request Body

    Request Body Parameters

    username
    Required
    string
    Username of the API account provided by Deeply
    password
    Required
    string
    Password of the API account provided by Deeply

    Response Fields

    • access_token: Bearer token for normal API requests and WebSocket connections
    • refresh_token: token used only with Reissue Token
    • token_type: always Bearer
    • expires_in: access token lifetime in seconds (3600 by default)

    The refresh token is valid for 30 days by default.

    Response

    1
    2
    3
    4
    5
    6
    {
      "access_token": "string",
      "refresh_token": "string",
      "token_type": "Bearer",
      "expires_in": 3600
    }

    Request Examples

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    const response = await fetch('http://{{EDGE_IP}}:8100/api/v1/auth/token', {
      method: 'POST',
      headers: {
        "Content-Type": "application/json"
      },
      body: JSON.stringify({
        "username": "api",
        "password": "YOUR_PASSWORD"
      })
    });
    
    const data = await response.json();
    Update Mic Device
    Reissue Token
    DescriptionAuthenticationRequest BodyResponse FieldsResponseRequest Examples