/mail/send

This channel is for sending emails.

Jsfiddle Example:

POST Request Explanation:

In this POST, there are multiple parameters we are sending. Below is a table with the explanation​ for each of them:

Parameter

Description

api_key

You can find this key inside your admin FeelBack console. It's needed to get access to your account API.

source_hash

Send the campaign hash key.

peoples

Send people array with fields like Name, Email, id. Where email is our key field to send your FeelMail.
Array Fields:
user_id - Referential id for the person you are sending the email.
full_name - Name for the person you are sending the email.
email - Email for the person you are sending the email.

schedule

Send schedule parameters like date time (yyyy-mm-dd h:i:s format) and time zone (America/Chicago).

Request Response:

After sending the request to FeelMail you will get some messages back. Some of the possible messages are below in this table:

Variables

Values

  • msg
  • *NO KEY ID** - When your key is empty.
  • *NO VALID TOKEN** - When the token is not valid.
  • *NO CAMPAIGN HASH FOUND** - When the campaign hash is empty.
  • *NO PEOPLES DATA** - When the people array is with out format or is empty.
  • *NO CAMPAIGN HASH FOUND** - When the campaign key is not found in our database.
  • *ERROR WHILE SENDING** - When any type of error while sending emails occurs.
  • *OK** - If everything is good.

code

The request code. Can be 200 for success or 400 for any type of errors.

Language
Click Try It! to start a request and see the response here!