Send

Send an email

Freeform (subject, html, text) or template (projectId + mergeData, sends an existing studio project). Suppressed and invalid addresses are not sent to (status: suppressed).

post/api/v1/send

Request

  • Base URL: https://mailinapp.com
  • URL: https://mailinapp.com/api/v1/send
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Retrying with the same key returns the first call's result instead of sending again.

Request body

tostring email required
type'transactional' | 'marketing'
subjectstring
htmlstring
textstring
projectIdstring
mergeDataobject
senderIdstring
replyTostring email

Response

The send's outcome

idstring required
status'pending' | 'sent' | 'failed' | 'suppressed' required
reasonstring
errorstring

Changes

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