# List Email Campaigns

GET /api/v2/projects/{projectId}/email-campaigns

Lists the project's campaigns with status and send progress. Audience, UTM, A/B config, and message bodies are omitted — fetch a campaign by id for those. Optionally narrow with `type` or `types`. Omit `take` to return every matching campaign; the dashboard passes `take` (max 100) and `after` to page.

## Request

- projectId: string, path, required — ID of the project to list campaigns for.
- after: string, query — Return campaigns created before this campaign id. Requires the same `type` / `types` and sort as the previous page.
- take: integer, query — Maximum campaigns to return, newest first. Omit to return every matching campaign.
- type: STANDARD | AUTOMATION | AB_TEST, query — Return only campaigns of this kind: `STANDARD` for a one-off broadcast, `AUTOMATION` for a triggered send, `AB_TEST` for a split test. Omit for all three.
- types: STANDARD | AUTOMATION | AB_TEST[], query — Return only campaigns of these kinds. Takes precedence over `type` when both are set.

## Response

- 200: Successful response
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
