---
title: "POST /api/public/document/{uuid}/card/{card-id}/{export-format}"
method: POST
path: "/api/public/document/{uuid}/card/{card-id}/{export-format}"
tags: ["/api/public"]
---

# POST /api/public/document/{uuid}/card/{card-id}/{export-format}

`POST /api/public/document/{uuid}/card/{card-id}/{export-format}`

Fetch a Card embedded in a public Document and return query results in the specified format.
  Does not require auth credentials. Public sharing must be enabled.

## Path parameters

- `uuid` string, required
- `card-id` integer, required
- `export-format` 'csv' | 'api' | 'xlsx' | 'json', required — Schema for valid export formats for downloading query results.

## Request body

- object
  - `format_rows` boolean, required
  - `parameters` union
    - object[]
    - string — value must be a valid JSON string.
  - `pivot_results` boolean, required

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

## Changes

- **2026-03-09** `78297d193ca4` — 1 info
  - api operation id `post-api-public-document-uuid-card-card-id-export-format` was added

[Change history](https://skmtc.dev/metabase/apis/metabase-api/changes/api/public/document/:uuid/card/:card-id/:export-format/post.md)

---

[API](https://skmtc.dev/metabase/apis/metabase-api.md) · [All operations](https://skmtc.dev/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/e879e0319b12/schema)
