APIs & Integration in Other Systems
API Endpoints
Get all mailing lists:
GET Request to /api/v1/ get-mailing-lists
Check if a given email address is subscribed:
GET/POST Request to /api/v1/ is-subscribed/EMAIL@DOMAIN.COM
Post a new subscriber:
POST Request to /api/v1/subscribe
Fields: first_name (string), last_name (string), email (string), optional mailing_lists
(array)
If registration is successful, you will get back a json object with ‘success’ set to ‘true’
and ‘message’ set to ‘Subscriber successfully registered’ and ‘subscriber’ set to the
newly created subscriber object.
If registration fails, you will get back a json containing ‘error’ set to the error
message.