Skip to content

Widgets

Get widget's parameters via its ID

GET /project/widget/{widgetId}/data

This method allows obtaining widget's parameters via its ID.

curl 'https://cloud.roistat.com/api/v1/project/widget/{widgetId}/data?project=12345' \
    --request POST \
    --header 'Content-type: application/json' \ 
    --header 'Api-key: {KEY}'
{
    "widgetData": []
}

Query String:

Parameter Type Description Required
project string Project number yes

Request Body:

No parameters.

Parameter Type Description
widgetData object Widget's parameters - Various widgets have various response formats