Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create Widget

This method allows the creation of the widget.

Request

name
value

url

https://dev.pulsoid.net/api/v1/widgets

method

POST

scope

widgets:update

Body Param Accepts JSON object with the following fields

name
value

configuration

Json representing new widget's configuration

name

Name of the widget

meta_id

Currently only basic bpm is supported so the value should be hardcoded to bf6bdf21-10a7-4a28-97ec-a239e6c77f8b

Headers Parameters explained:

name
value
description

Authorization

Bearer {auth token}

Response

The response is a created widget.

Curl Request Example

curl --request POST \
  --url https://pulsoid.net/api/v1/widgets \
  --header 'Authorization: Bearer 47ee2a9f-624d-4ed3-84db-8104b229f21c' \
  --header 'Content-Type: application/json' \
  --data '{
  "meta_id": "bf6bdf21-10a7-4a28-97ec-a239e6c77f8b",
  "name": "Test",
  "configuration": {
    "heartEnabled": false
  }
}'

Response Example


Last updated