Skip to main content
GET
/
analytics
/
widgets
List widgets
curl --request GET \
  --url https://app2.freyavoice.ai/api/v2/analytics/widgets \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "message": "<string>",
    "result": {
      "widgets": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "description": "<string>",
          "structuredDataId": 123,
          "chartType": "<string>",
          "columnWidth": "<string>",
          "rowIndex": 123,
          "sortOrder": 123,
          "config": {},
          "createdAt": "<string>",
          "updatedAt": "<string>",
          "createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

workspaceId
string<uuid>
required
Minimum string length: 1

Response

List of widgets

success
enum<boolean>
required
Available options:
true,
false
data
object
required