---
title: "Export Variable Data Content"
method: POST
path: "/export/variable-data-content"
tags: ["Variable Data Content"]
---

# Export Variable Data Content

`POST /export/variable-data-content`

## Request

- Base URL: `https://vd-api.picsart.io/v1`
- URL: `https://vd-api.picsart.io/v1/export/variable-data-content`
- Auth: API key in header `X-Picsart-API-Key`

Export your Replays with async API in background to optimize for performance and improve your user experience.
Customize the output with your data. Here you can provide a CSV file with up to 50 rows and map your data to the variables in the Replay file. For each row in the data file, this service will export a file of the requested type.

## Request body `multipart/form-data`

- object
  - `template_id` string: Source template ID from Picsart Inventory. (If this parameter is present, the other template source parameters must be empty.)
  - `template` string, binary: Source replay file (binary). (If this parameter is present, the other template source parameters must be empty.)
  - `template_url` string, uri: Source replay URL. (If this parameter is present, the other template source parameters must be empty.)
  - `data` string: Source data file as a string. Comma separated values only. The first line should always be the header line, with column names. Only the first 50 data rows will be processed. (If this parameter is present, the other data file source parameters must be empty.)
  - `data_file` string, binary: Source data (CSV) file (binary, attachment). The first line should always be the header line, with column names. Only the first 50 data rows will be processed. (If this parameter is present, the other data file source parameters must be empty.)
  - `data_file_url` string, uri: Source data (CSV) file URL. The first line should always be the header line, with column names. Only the first 50 data rows will be processed. (If this parameter is present, the other data file source parameters must be empty.)
  - `mapping` string: Comma separated mapping of fields.
  - `format` 'PDF' | 'PNG' | 'JPG' | 'MP4' | 'REPLAY': Optionally select one of the export formats. Options are as follows: * PDF * PNG * JPG * MP4 * REPLAY

## Response `202`

Requested successfully accepted when doing asynchronous transformation.

- object
  - `transaction_id` string, nullable
  - `status` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `404`: Not Found
- `405`: Method Not Allowed
- `413`: Request Entity Too Large
- `415`: Unsupported Media Type
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `431`: Request Header Fields Too Large
- `500`: Internal Server Error
- `503`: Service Unavailable
- `529`: Overloaded. The model provider is overloaded and could not complete this request. Please retry shortly, or switch to a different model.

---

[API](https://skmtc.dev/picsart/apis/picsart-variable-data-content-apis.md) - [All operations](https://skmtc.dev/picsart/apis/picsart-variable-data-content-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/picsart/apis/picsart-variable-data-content-apis/revisions/34c56ec58738?raw)
