Skip to main content
POST
Pin a report

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

report_id
string
required

The report's id, from GET /v1/reports

Body

application/json
context
enum<string>
required

Where the pin shows: dashboard is the report menu on the home Dashboard, accounts the Reports tab of every account page

Available options:
dashboard,
accounts

Response

201 - application/json

Successful Response

context
enum<string>
required
Available options:
dashboard,
accounts
description
string | null
required
name
string
required

The report's name

pinned_at
string<date-time> | null
required
position
integer
required

Its place in the context, from 0

report_id
string
required

The pinned report's id