Basic
Retrieve email campaigns for automation flows.
Changed onRetrieve 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.
get/automation/2026-09-beta/flows/email-campaigns
Request
- Base URLhttps://api.hubapi.com
- Auth
- OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesautomation
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesworkflows.write
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesworkflows.delete
- or OAuth 2Authorization codehttps://app.hubspot.com/oauth/authorizeToken URLhttps://api.hubapi.com/oauth/v1/tokenScopesworkflows.read
Query parameters
afterstring
The paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.
beforestring
flowIdstring[]
limitinteger
The maximum number of results to display per page.
Response
successful operation
Changes
- info
the security scope
automationwas added to the endpoint's security schemeoauth2 - info
the security scope
workflows.readwas removed from the endpoint's security schemeoauth2
- info
- info
endpoint added
- info