Skip to main content
GET
/
api
/
v1
/
web-integrations
/
discover
Validate API token and retrieve associated integration (Public Endpoint)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://blackbox.dasha.ai/api/v1/web-integrations/discover', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "integrationId": "<string>",
  "agentId": "<string>",
  "name": "<string>",
  "enabled": true,
  "features": [
    {
      "name": "AllowWebCall",
      "enabled": true
    }
  ],
  "widgetAppearance": {
    "theme": "<string>",
    "position": "<string>",
    "colors": {},
    "customStyles": {}
  },
  "description": "<string>",
  "tools": [
    "<string>"
  ]
}

Query Parameters

token
string

The API token string to validate and lookup

Response

Returns the integration configuration

Public response DTO for web integration discovery endpoint. Contains only safe, non-sensitive information that can be exposed publicly.

integrationId
string
required
Minimum string length: 1
agentId
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
enabled
boolean
required
features
object[]
required
widgetAppearance
object
required
description
string | null
tools
string[] | null