Retrieve marketing emails
Retrieve a list of marketing emails from your HubSpot account. This endpoint allows you to filter emails based on various criteria such as publication date, creation date, update date, and more. You can also control the number of results per page and include additional statistics or properties in the response.
Supported products
Supported products
Required Scopes
Required Scopes
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
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.
Whether to return only results that have been archived.
Filter emails by campaign name.
Filter emails created after a specific date. Format should be date-time.
Filter emails by the exact creation date. Format should be date-time.
Filter emails created before a specific date. Format should be date-time.
Specify additional properties to include in the response. Accepts an array of strings.
Include statistics in the response. Accepts a boolean value.
Filter emails by their published status. Accepts a boolean value.
The maximum number of results to display per page.
Include marketing campaign names in the response. Accepts a boolean value.
Filter emails published after a specific date. Format should be date-time.
Filter emails by the exact publication date. Format should be date-time.
Filter emails published before a specific date. Format should be date-time.
Specify the sorting order for the results. Accepts an array of strings.
Filter emails by type. Accepts specific email types such as AB_EMAIL, BATCH_EMAIL, etc.
AB_EMAIL, AUTOMATED_AB_EMAIL, AUTOMATED_EMAIL, BATCH_EMAIL, BLOG_EMAIL, BLOG_EMAIL_CHILD, FEEDBACK_CES_EMAIL, FEEDBACK_CUSTOM_EMAIL, FEEDBACK_CUSTOM_SURVEY_EMAIL, FEEDBACK_NPS_EMAIL, FOLLOWUP_EMAIL, LEADFLOW_EMAIL, LOCALTIME_EMAIL, MANAGE_PREFERENCES_EMAIL, MARKETING_SINGLE_SEND_API, MEMBERSHIP_EMAIL_VERIFICATION_EMAIL, MEMBERSHIP_FOLLOW_UP_EMAIL, MEMBERSHIP_OTP_LOGIN_EMAIL, MEMBERSHIP_PASSWORD_RESET_EMAIL, MEMBERSHIP_PASSWORD_SAVED_EMAIL, MEMBERSHIP_PASSWORDLESS_AUTH_EMAIL, MEMBERSHIP_REGISTRATION_EMAIL, MEMBERSHIP_REGISTRATION_FOLLOW_UP_EMAIL, MEMBERSHIP_VERIFICATION_EMAIL, OPTIN_EMAIL, OPTIN_FOLLOWUP_EMAIL, RESUBSCRIBE_EMAIL, RSS_EMAIL, RSS_EMAIL_CHILD, SINGLE_SEND_API, SMTP_TOKEN, TICKET_EMAIL Filter emails updated after a specific date. Format should be date-time.
Filter emails by the exact update date. Format should be date-time.
Filter emails updated before a specific date. Format should be date-time.
Include variant statistics in the response. Accepts a boolean value.
Include workflow names in the response. Accepts a boolean value.
Response
successful operation
An array containing the public email objects retrieved in the current page of results.
An integer representing the total number of public emails available.
Represents the pagination information for navigating through a list of results in the API. It provides details on how to access the previous or next set of results.