This method adds a new subscriber to a list. You can also use this method to update an existing subscriber. On another note, you can also embed a subscribe form on your website using FlipMail's subscribe form HTML code. Visit View all lists, select your desired list then click 'Subscribe form' at the top of the page.
URL
http://flipmail.org/api/subscribe
PARAMETERS (POST)
Note: You can also pass values into custom fields or update them. To do so, 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 or update it.
api_key
your API key, available in Settings.name
user's name (optional)email
user's emaillist
the list id you want to subscribe a user to. This encrypted & hashed id can be found under View all lists section named ID.country
user's 2 letter country code (optional)ipaddress
user's IP address (optional)referrer
the URL where the user signed up from (optional)gdpr
if you're signing up EU users in a GDPR compliant manner, set this to "true" (optional)silent
set to "true" if your list is 'Double opt-in' but you want to bypass that and signup the user to the list as 'Single Opt-in instead' (optional)hp
include this 'honeypot' field to prevent spambots from signing up via this API call. When spambots fills in this field, this API call will exit, preventing them from signing up fake addresses to your form. This parameter is only supported in FlipMail 3.0 onwards. (optional)boolean
set this to "true" so that you'll get a plain text response (optional)RESPONSE (Plain text)
Success: true
Error: Some fields are missing.
Error: API key not passed
Error: Invalid API key
Error: Invalid email address.
Error: Already subscribed.
Error: Bounced email address.
Error: Email is suppressed.
Error: Invalid list ID.
This method unsubscribes a user from a list.
URL
http://flipmail.org/api/unsubscribe
PARAMETERS (POST)
email
user's emaillist
the list id you want to unsubscribe a user from. This encrypted & hashed id can be found under View all lists section named IDboolean
set this to "true" so that you'll get a plain text responseRESPONSE (Plain text)
Success: true
Error: Some fields are missing.
Error: Invalid email address.
Error: Email does not exist.
This method deletes a subscriber off a list.
URL
http://flipmail.org/api/subscribers/delete
PARAMETERS (POST)
api_key
your API key, available in Settings.list_id
the id of the list you want to delete the subscriber from. This encrypted id can be found under View all lists section named IDemail
the email address you want to deleteRESPONSE (Plain text)
Success: true
Error: No data passed
Error: API key not passed
Error: Invalid API key
Error: List ID not passed
Error: List does not exist
Error: Email address not passed
Error: Subscriber does not exist
This method gets the current status of a subscriber (eg. subscribed, unsubscribed, bounced, complained).
URL
http://flipmail.org/api/subscribers/subscription-status
PARAMETERS (POST)
api_key
your API key, available in Settings.email
user's emaillist_id
the id of the list this email belongs to. This encrypted id can be found under View all lists section named IDRESPONSE (Plain text)
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
This method gets the total active subscriber count of a list.
URL
http://flipmail.org/api/subscribers/active-subscriber-count
PARAMETERS (POST)
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 IDRESPONSE (Plain text)
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
We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from. By clicking on the button you accept our cookie policy.