---
title: "match_email_campaigns"
method: POST
path: "/match_email_campaigns"
tags: ["email_campaigns"]
---

# match_email_campaigns

`POST /match_email_campaigns`

## Request

- Base URL: `https://app.podmule.com/api/v1`
- URL: `https://app.podmule.com/api/v1/match_email_campaigns`
- Auth: HTTP bearer

Bulk-resolve many email campaigns in ONE call by a known set of values — instead of looping get_email_campaign N times. Supply filters of {field, values[], mode}: exact (IN — for prefixed ids ec_/sh_/et_, type, status) or contains (case-insensitive literal substring — for title, subject, from_address). Contains-eligible fields: title, subject, from_address. Combine filters with 'any' (OR, default) or 'all' (AND). detail:'full' adds delivery/open/click/unsubscribe counts and tracking flags (no N+1; email bodies are NOT returned — use get_email_campaign). Returns matches (with matched_by), unmatched, and truncated. Caps: ≤50 values/filter, ≤5 filters, ≤200 summary rows / ≤50 full rows.

## Request body

- unknown

## Response `200`

Capability output wrapped in `{ data }`.

- object
  - `data` unknown, required

## Other responses

- `400`: Invalid input — Zod validation failed.
- `401`: Missing, malformed, or audience-mismatched bearer token.
- `403`: Token is valid but lacks the required scope.
- `404`: Capability not registered, or referenced resource not found.
- `429`: Rate limit exceeded. Retry after the period in `Retry-After`.
- `500`: Internal error.

---

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