Call us toll free @ 888-497-7898

email - uploadlistfile

Allows you to upload a list to the system either csv,txt file or a zip file containing txt or csv files.

Example form code below:

<form action="https://www.apiurl.com/api.php?apikey=APIKEYHERE&area=email&action=uploadlistfile" enctype="multipart/form-data" method="post">
File: <input type="file" name="list">
<br>
<input type="submit" value="Submit">
</form>


API Call Information
area: email
action: uploadlistfile

API Arguments
Argument Data Type Required Description
list file Yes Upload field with either .csv or .txt file or a zip file containing txt or csv files.
title string No title of the list if not used uses the filename
folder integer No parent folder id
API Url Example:
https://api.hypermail.com/api.php?apikey=YOURAPIKEYHERE&area=email&action=uploadlistfile

API Result:
XML Response JSON Response
<response>
<listid>479678</listid>
<status>Success</status>
</response>
{
    "listid": "479678",
    "status": "Success"
}