CampaignDrafts

Creates a new Gmail DRAFT for a campaign that will be sent later.

This will create a DRAFT in your Gmail account and return the actual Gmail DRAFT Id. Then use /campaigns to send the campaign. DO NOT specify a value for campaignDraftId.

post/api/campaigndrafts

Request

  • Base URL
    https://api.gmass.co
  • Auth
    none declared

Request body

campaignDraftIdstring

This is the DRAFT ID that will be returned. Do not specify it.

fromEmailstring

The from address for the campaign. Must match an authenticated From Address in the Gmail account.

subjectstring required
messagestring required
messageTypestring

Set to either "html" or "plain". HTML messages will always result in a plain text message being auto generated by Google and sent along with the HTML MIME part.

listAddressstring

The list address for this campaign. Example: aaa-bbb-ccc@gmass.co

emailAddressesstring
ccstring

One or more Cc addresses, separated by a comma or any other standard delimiter. Cc addresses will receive a copy of each individual email sent as part of the campaign.

bccstring

One or more Bcc addresses, separated by a comma or any other standard delimiter. Bcc addresses will receive a blind copy of each individual email sent as part of the campaign.

Response

OK

campaignDraftIdstring

This is the DRAFT ID that will be returned. Do not specify it.

fromEmailstring

The from address for the campaign. Must match an authenticated From Address in the Gmail account.

subjectstring required
messagestring required
messageTypestring

Set to either "html" or "plain". HTML messages will always result in a plain text message being auto generated by Google and sent along with the HTML MIME part.

listAddressstring

The list address for this campaign. Example: aaa-bbb-ccc@gmass.co

emailAddressesstring
ccstring

One or more Cc addresses, separated by a comma or any other standard delimiter. Cc addresses will receive a copy of each individual email sent as part of the campaign.

bccstring

One or more Bcc addresses, separated by a comma or any other standard delimiter. Bcc addresses will receive a blind copy of each individual email sent as part of the campaign.

Changes

No recorded changes to this operation across all 1 revision of this API.