POST/v1/masterdashboard/user/{userId}/widgets

Create user widgets

Not yet documented — no summary in the API source.

RequiresAuthorization: Bearer sk_...tenant_id

Path parameters

userIdstringrequired

Request body application/json

idstringnullable
codestringnullable
userIdstringnullable
orderinteger (int32)
xinteger (int32)
yinteger (int32)
widthinteger (int32)
heightinteger (int32)
isVisibleboolean
createdAtstring (date-time)
updatedAtstring (date-time)

Responses

object UserDashboardWidget — same shape as the request body.

curl --request POST \
  --url 'https://api.4comply.io/v1/masterdashboard/user/00000000-0000-0000-0000-000000000000/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",
  "userId": "00000000-0000-0000-0000-000000000000",
  "order": 1,
  "x": 0,
  "y": 0,
  "width": 100,
  "height": 100,
  "isVisible": true,
  "createdAt": "2026-09-07T12:00:00Z",
  "updatedAt": "2026-09-07T12:00:00Z"
}'