There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Create a marketing email

Last updated May 15, 2023

POST /marketing-emails/v1/emails/

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing

Required Scope:

content

Create a new marketing email.

Note: This API endpoint predates the business units functionality. As a result all marketing emails created using this endpoint automatically go to the default business unit. We aim to make it possible to specify a specific business unit in a future version of the API.




Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
name Included as JSON field in the request body. The name of the email, displayed in the email dashboard