Skip to main content
POST
/
v0
/
widgets
Create Widget
curl --request POST \
  --url https://api.example.com/v0/widgets/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<string>",
  "query_config": {},
  "display_config": {}
}
'
{
  "_links": {
    "kyc": {
      "description": "Submit KYC information",
      "href": "/v0/user/me/kyc",
      "method": "PUT"
    },
    "self": {
      "href": "/v0/user/me",
      "method": "GET"
    },
    "wallets": {
      "href": "/v0/wallets",
      "method": "GET"
    }
  }
}

Headers

x-sumvin-token
string | null
x-juno-jwt
string | null

Body

application/json
type
string
required

Widget type (e.g., 'spending_chart', 'balance_summary')

Maximum string length: 50
query_config
Query Config · object

Semantic query descriptor for the widget data

display_config
Display Config · object

Display configuration including title and size

Response

Widget created successfully

HAL-style hypermedia links for navigation and available actions.

external_id
string
required
type
string
required
position
integer
required
created_at
integer
required
updated_at
integer
required
query_config
Query Config · object
display_config
Display Config · object