Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

For your own scripts and server-to-server integrations. Create a key in the app under Settings > Access > API keys and copy it then, because it is shown once. Send it as Authorization: Bearer <key>. The key acts as the member who made it, in the organization it was made in. A call needs the member's permission and one of the key's scopes, such as inventory:read or sales:write. A key with * has every scope.

Body

application/json

A report to draw as a chart and how to draw it, with the range of the x axis when the person zoomed into one.

definition
object
required
chart
object
required
from
string | null

The start of a zoomed range of the x axis: a date, an instant in ISO 8601 or a number.

Maximum string length: 40
to
string | null

The end of a zoomed range.

Maximum string length: 40

Response

ChartResource

data
ChartResource · object
required