---
title: "Retrieve workflow email campaigns"
method: GET
path: "/automation/v4/flows/email-campaigns"
tags: ["Basic"]
---

# Retrieve workflow email campaigns

`GET /automation/v4/flows/email-campaigns`

Retrieve a list of email campaigns associated with automation flows, with optional pagination using 'after', 'before', and 'limit' query parameters.

## 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/614f5ff8daff/schema)
