---
title: "Create a request to export leads collected from a lead ad"
method: POST
path: "/ad_accounts/{ad_account_id}/leads_export"
tags: ["leads_export"]
---

# Create a request to export leads collected from a lead ad

`POST /ad_accounts/{ad_account_id}/leads_export`

**This feature is currently in beta and not available to all apps. If you're interested in joining the beta, please reach out to your Pinterest account manager.**

Create an export of leads collected from a lead ad. This returns a `leads_export_id` token that you can use to download the export when it is ready.

Note: Lead ad data will be available up to 30 days after the lead has been submitted.

For more, see [Lead ads](https://help.pinterest.com/en/business/article/lead-ads).

## Path parameters

- `ad_account_id` string, required

## Request body

- LeadsExportsCreate — Resource create operation model.
  - `ad_id` string, required — ID for the ad collecting leads.
  - `end_date` string, required — Export leads collected on and before end date (UTC). Format: YYYY-MM-DD.
  - `start_date` string, required — Export leads collected on and after start date (UTC). Format: YYYY-MM-DD.

## Response `200`

The request has succeeded.

- LeadsExports
  - `leads_export_id` string — ID for the leads export job.

## Other responses

- `201` — Resource create operation completed successfully.
- `400` — The request could not be understood by the server due to unexpected data.
- `401` — Authentication is required and has either failed or not been provided.
- `403` — The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.
- `404` — The requested resource could not be found on this server.
- `429` — The user has sent too many requests in a given amount of time and is being rate limited.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/pinterest/apis/pinterest-rest-api.md) · [All operations](https://skmtc.net/pinterest/apis/pinterest-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinterest/pinterest-rest-api/versions/b698c180678a/schema)
