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 export and the format to write. The report is a saved view, which keeps its own definition and display, or a definition as the run endpoint takes it with how the grid shows it.

format
enum<string>
required

csv, xlsx for an Excel data export of any size, workbook for a formatted Excel workbook of up to 50,000 rows, or pdf.

Available options:
csv,
xlsx,
workbook,
pdf
definition
object
required
display
object | null
required

How the grid shows it.

view
string<uuid> | null

A saved view to export, instead of a definition.

version
integer | null

The version of the view, the newest when left out.

Required range: x >= 1
title
string | null

What the file is called, when there is no view.

Maximum string length: 120

Response

ExportResource

data
ExportResource · object
required