Execute widget code
POST
/
api
/
widgets
/
{widgetId}
/
execute-code
Authorizations
x-api-key
string
headerrequiredResponse
200 - application/json
The response is of type object
.
{
"type": "metric",
"data": {
"datasets": [
{
"data": [
2896.8484997477935
],
"label": "USD"
}
]
},
"options": {
"responsive": true,
"maintainAspectRatio": false,
"plugins": {
"datalabels": {
"display": false
},
"title": {
"text": "Lifetime Value of All Customers"
}
}
}
}
You can find all properties for Widgets in the concepts at this link