POST | Sending E-mail campaign

Requested by POST query, all parameters are transmitted in JSON format in the request body.

URL

https://api.quantumtec.eu/v1/email/bulk

Header parameters

Parameter Valuse
Content-Type application/json
Accept application/json
X-ApiKey API key

Query parameters

Parameters are sent in JSON format

Parameter Format Usage Description
bulkId string Optional Campaign ID. If not specified will be assigned automatically.
from string Mandatory E-mail of the sender
text string Mandatory e-mail body (plain text or HTML)
subject string Mandatory E-mail subject
replyTo string Optional Address for reply. A reply to the letter will be sent to this address
isHtml boolean Mandatory If “true”, the contents of the “text” field will be read as HTML
recipients array Mandatory Array of multiple recipients
recipients(to) string Mandatory Recipient's email
recipients(messageId) string Optional Indicated by the client in the event of having to use your own message ID. If not specified will be assigned automatically.
attachments array Optional Options for sending attachments
attachments(fileName) string Optional File name
attachments(contentType) string Optional File type
attachments(data) string Optional File
startTime string Optional The start time of the mailing. Specified in "2018-01- 01T00: 10: 20.000Z", the time zone of the specified time must be UTC. If not specified, campaign will start immediately.

In response, a data set in JSON format will be sent.

Response parameters

Parameter Descriptions
bulkId Email campaign ID

Example