---
title: "Check a WhatsApp campaign recipient CSV"
method: POST
path: "/api/v1/tools/analyze_campaign_csv"
---

# Check a WhatsApp campaign recipient CSV

`POST /api/v1/tools/analyze_campaign_csv`

## Request

- Base URL: `https://whatsync.app`
- URL: `https://whatsync.app/api/v1/tools/analyze_campaign_csv`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Analyze up to 3,000 CSV rows for international phone format, duplicates, declared opt-in, and candidate countries. Requires phone and opt_in columns. This cannot prove WhatsApp registration or provide a live Meta price; it sends nothing.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `csv` string, required: CSV content with phone and opt_in columns; paste or supply file contents from your agent
  - `requiredTemplateVariables` integer: Number of body variables in the selected approved template; validates param_1, param_2, and so on

## Response `200`

JSON result. Every response includes X-Request-Id.

- object

## Other responses

- `400`: API error
- `401`: API error
- `403`: API error
- `404`: API error
- `409`: API error
- `413`: API error
- `415`: API error
- `422`: API error
- `429`: API error
- `503`: API error

---

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