Skip to main content

Get Widget Configuration

Public endpoint that returns the widget configuration for an agent.
curl -X GET "https://api.example.com/api/v1/widget/your-api-key-here/agent_123/config"
{
  "status": {
    "code": 200,
    "message": "Widget configuration retrieved successfully"
  },
  "data": {
    "widget_config": {
      "agent_id": "agent_123",
      "agent_name": "Customer Support Agent",
      "theme": "light",
      "position": "bottom-right"
    }
  }
}