API and documentation
Subscribe
Parameters
Note: You can also pass values into custom fields. To add values to your desired custom field, use the personalization tag of the custom field as the parameter. Say, your custom field tag is [Birthday,fallback=], you can use the parameter, 'Birthday' to add values to this custom field.
- name user's name is optional
- email user's email
- list the list id you want to subscribe a user to. This encrypted & hashed id can be found under View all lists section named ID
- boolean set this to "true" so that you'll get a plain text response
Response
- Success: true
- Error: Some fields are missing.
- Error: Invalid email address.
- Error: Invalid list ID.
- Error: Already subscribed.
Unsubscribe
This method unsubscribes a user from a list.
Parameters
- email user's email
- list the list id you want to subscribe a user to. This encrypted & hashed id can be found under View all lists section named ID
- boolean set this to "true" so that you'll get a plain text response
Response
- Success: true
- Error: Some fields are missing.
- Error: Invalid email address.
Subscription status
This method gets the current status of a subscriber (eg. subscribed, unsubscribed, bounced, complained).
Parameters
- api_key your API key, available in Settings.
- email user's email
- list the list id you want to subscribe a user to. This encrypted & hashed id can be found under View all lists section named ID
Response
- Success: Subscribed
- Success: Unsubscribed
- Success: Unconfirmed
- Success: Bounced
- Success: Soft bounced
- Success: Complained
- Error: No data passed
- Error: API key not passed
- Error: Invalid API key
- Error: Email not passed
- Error: List ID not passed
- Error: Email does not exist in list
Active subscriber count
This method gets the total active subscriber count.
Parameters
- api_key your API key, available in Settings.
- list_id the id of the list you want to get the active subscriber count. This encrypted id can be found under View all lists section named ID
Response
- Success: You'll get an integer of the active subscriber count
- Error: No data passed
- Error: API key not passed
- Error: Invalid API key
- Error: List ID not passed
- Error: List does not exist
Create and send campaign
This method creates a campaign (with an option to send it too).
Parameters
- api_key your API key, available in Settings.
- from_name the 'From name' of your campaign
- from_email the 'From email' of your campaign
- reply_to the 'Reply to' of your campaign
- subject the 'Subject' of your campaign
- plain_text the 'Plain text version' of your campaign (optional)
- html_text the 'HTML version' of your campaign
- list_ids Required only if you set send_campaign to 1 to send the campaign and not just create a draft. List IDs should be single or comma-separated. The encrypted & hashed ids can be found under View all lists section named ID.
- brand_id Required only if you are creating a 'Draft' campaign (send_campaign set to 0 or left as default). Brand IDs can be found under 'Brands' page named ID
- query_string eg. Google Analytics tags
- send_campaign Set to 1 if you want to send the campaign as well and not just create a draft. Default is 0.
Response
- Success: Campaign created
- Success: Campaign created and now sending
- Error: No data passed
- Error: API key not passed
- Error: Invalid API key
- Error: From name not passed
- Error: From email not passed
- Error: Reply to email not passed
- Error: Subject not passed
- Error: HTML not passed
- Error: List ID(s) not passed
- Error: One or more list IDs are invalid
- Error: List IDs does not belong to a single brand
- Error: Brand ID not passed
- Error: Unable to create campaign
- Error: Unable to create and send campaign
Order form
Recommendations:
You can use this service only if you have recommendations from existing clients. Please, specify the names of companies or people who have invited you. If you have no recommendations, leave this field blank. We will contact you.