---
title: "Get the report CSV"
method: GET
path: "/mailmerge/campaigns/{campaign_id}/report"
tags: ["Mail merge"]
---

# Get the report CSV

`GET /mailmerge/campaigns/{campaign_id}/report`

## Request

- Base URL: `https://api.podpdf.com`
- URL: `https://api.podpdf.com/mailmerge/campaigns/{campaign_id}/report`
- Auth: API key in header `X-API-Key`

A one-hour link to a CSV with one line per row: row,email,status,error_code,error_message,message_id,pages,sent_at. Kept 30 days.

## Response `200`

A signed link

- object
  - `campaign_id` string
  - `download_url` string, uri
  - `expires_at` string, date-time
  - `content_type` string
  - `size_bytes` integer

## Other responses

- `401`: Missing or invalid API key
- `403`: `INSUFFICIENT_CREDITS`, `CONVERSION_TYPE_NOT_ENABLED`, `PDF_TOOLS_NOT_ENABLED`, `RATE_LIMIT_EXCEEDED` or `ACCOUNT_NOT_FOUND`. Note that a plan's rate limit is a 403, not a 429.
- `404`: No such resource for this account
- `409`: `REPORT_NOT_READY` — the campaign has not finished
- `410`: `OUTPUT_EXPIRED` — the file has been deleted

---

[API](https://skmtc.dev/podpdf/apis/podpdf-api.md) · [All operations](https://skmtc.dev/podpdf/apis/podpdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/podpdf/apis/podpdf-api/revisions/84eb21f3ee27?raw)
