---
title: "Retrieve email campaigns for automation flows."
method: GET
path: "/automation/2026-09-beta/flows/email-campaigns"
tags: ["Basic"]
---

# Retrieve email campaigns for automation flows.

`GET /automation/2026-09-beta/flows/email-campaigns`

Retrieve a list of email campaigns associated with automation flows. This endpoint allows you to filter and paginate through email campaigns using various query parameters. It is useful for obtaining detailed information about email campaigns linked to specific flows.

## Query parameters

- `after` string
- `before` string
- `flowId` string[]
- `limit` integer

## Response `200`

successful operation

- CollectionResponseApiFlowEmailCampaign
  - `paging` Paging
    - `next` NextPage — Specifies the paging information needed to retrieve the next set of results in a paginated API response
      - `after` string, required — A paging cursor token for retrieving subsequent pages.
      - `link` string — A URL that can be used to retrieve the next page results.
    - `prev` PreviousPage — specifies the paging information needed to retrieve the previous set of results in a paginated API response
      - `before` string, required — A paging cursor token for retrieving previous pages.
      - `link` string — A URL that can be used to retrieve the previous pages' results.
  - `results` ApiFlowEmailCampaign[], required
    - `emailCampaignId` string, required — The unique identifier for the email campaign associated with the automation flow.
    - `emailContentId` string, required — The unique identifier for the email content used in the email campaign.
    - `flowId` string, required — The unique identifier for the automation flow associated with the email campaign.

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/automation-automation-v4.md) · [All operations](https://skmtc.net/hubspot/apis/automation-automation-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/automation-automation-v4/revisions/1785447277fb/schema)
