/api/embed

GET /api/embed/card/{token}/query/{export-format}

Changed on

Like GET /api/embed/card/query, but returns the results as a file in the specified format.

get/api/embed/card/{token}/query/{export-format}

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Path parameters

tokenstring required
export-format'csv' | 'api' | 'xlsx' | 'json' required

Schema for valid export formats for downloading query results.

Query parameters

format_rowsboolean
pivot_resultsboolean

Response

Successful response

Changes