Create a marketing email

Last updated November 29, 2021

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 API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
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

These code samples use a demo API key. Using this key for anything but GET requests will result in an error. For all other requests (such as POST or PUT), you'll need to use your own API key or OAuth. For more details, please see here