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"
}
}
}
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"
}
}
}