POST
/v1/masterdashboard/widgetsCreate masterdashboard widgets
Not yet documented — no summary in the API source.
Requires
Authorization: Bearer sk_...tenant_idRequest body application/json
idstringnullablecodestringnullablelabelstringnullablecolorstringnullablewidthinteger (int32)heightinteger (int32)componentstringnullabledescriptionstringnullablecategorystringnullableisActivebooleancreatedAtstring (date-time)updatedAtstring (date-time)Responses
object DashboardWidget — same shape as the request body.
curl --request POST \
--url 'https://api.4comply.io/v1/masterdashboard/widgets' \
--header 'Authorization: Bearer sk_...' \
--header 'tenant_id: your-tenant-id' \
--header 'Content-Type: application/json' \
--data '{
"id": "00000000-0000-0000-0000-000000000000",
"code": "example-code",
"label": "Example label",
"color": "#4f46e5",
"width": 100,
"height": 100,
"component": "string",
"description": "Example text",
"category": "string",
"isActive": true,
"createdAt": "2026-09-07T12:00:00Z",
"updatedAt": "2026-09-07T12:00:00Z"
}'