For the complete documentation index, see llms.txt. Any page on this site can be fetched as Markdown by appending .md to its URL.

Voice agentsChat widgets

Get a chat widget

GET
/v1/agent-media/chat-widgets/{widgetId}

Authorization

bearerAuth
AuthorizationBearer <token>

A Tandem bearer token. Requests are scoped to the organization the token belongs to; no organization header is required.

In: header

Path Parameters

widgetId*string

The chat widget's unique ID.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/agent-media/chat-widgets/string"
{  "widget": {    "id": "string",    "publicKey": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "name": "string",    "displayName": "string",    "agentId": "string",    "workflowId": "string",    "description": "",    "avatarUrl": "string",    "showAvatar": true,    "position": "bottom-right",    "launcherIcon": "bubble",    "launcherIconUrl": "string",    "brandColor": "string",    "greeting": "string",    "allowedOrigins": []  }}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}
{  "error": "string",  "message": "string",  "limit": 0,  "length": 0,  "reason": "string"}