Call us toll-free @ 888-497-7898

API Call Information

area: email

action: addmessage

API Arguments

Argument Data Type Required Description
title string Yes title of the message
body string Yes html content of the your message
text string No text part of your message
folder integer No parent folder id integer default 0
rehostimages boolean either 1 or 0 No Automatically rehost external images and replace with the accounts image hosting.
previewtext string No Preview header text shown in email client

API URL Example

https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=email&action=addmessage&body=yourmessagehere&title=messagetitle

API Response

XML Response

<response>
  <success>Messaged Added</success>
  <id>211596</id>
</response>

JSON Response

{
    "success": "Messaged Added",
    "id": "211596"
}