Skip to content

Create a public link.

POST
/dashboards/{id}/shares
curl --request POST \
--url https://api.siteqwality.com/dashboards/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/shares \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "allowed_times": [ "example" ], "default_time": "example", "theme": "light", "variables": { "additionalProperty": { "locked": true, "allowed": [ "example" ] } }, "expires_at": "2026-04-15T12:00:00Z" }'

The link shows the dashboard read-only at https://app.siteqwality.com/share/d/<url_token>.

id
required
string format: uuid

Dashboard id

Media type application/json

ShareConfig plus an optional expiry.

object
allowed_times

Presets a viewer may pick, from 15m 1h 4h 1d 2d 7d 30d 90d.

Array<string>
default_time

One of allowed_times.

string
theme
string
Allowed values: light dark auto
variables
object
key
additional properties

How a public viewer may use one variable. A variable the share does not list is locked to the dashboard default.

object
locked
boolean
allowed

The values a viewer may pick; null allows every value (and All when the variable includes it).

array | null
expires_at
string | null format: date-time

The new link

Media type application/json
object
id
required
string format: uuid
url_token
required

The capability in https://app.siteqwality.com/share/d/<token>.

string
config
required
object
allowed_times

Presets a viewer may pick, from 15m 1h 4h 1d 2d 7d 30d 90d.

Array<string>
default_time

One of allowed_times.

string
theme
string
Allowed values: light dark auto
variables
object
key
additional properties

How a public viewer may use one variable. A variable the share does not list is locked to the dashboard default.

object
locked
boolean
allowed

The values a viewer may pick; null allows every value (and All when the variable includes it).

array | null
paused
required
boolean
expires_at
string | null format: date-time
created_by
One of:
null
created_at
required
string format: date-time
last_accessed_at
string | null format: date-time
access_count
required
integer format: int64
Example
{
"config": {
"theme": "light"
}
}

Invalid settings, or 20 links already

Missing or invalid authentication

Custom dashboards require a paid plan

Locked, the caller cannot edit dashboards, or is a connected app

No such dashboard

Internal server error