Skip to content

Sendy API - How To?

edited September 2012 in Using Sendy
Hello. I have question about Sendy API. What is the structure, to use Sendy API for subscribing leads.

Is it something like this? - http://www.mysendypath.com/subscribe/?key=myapikey&name=Joe&email=mail@gmail.com ?

I tested in every way, but users not subscribing. Please help.

Comments

  • You're doing a GET. You need to POST the data (as shown in the API page).
  • But do I need to use API key? If yes, then how?
  • No, the parameters are all displayed and explained in the API page → http://sendy.co/api
  • edited September 2012
    Something I think would be awesome is if you set users as unconfirmed so they need to opt in via email verification. This is a suggestion for the API.
  • You can set your list as 'double opt in' in list settings. So when a user subscribe to that list via the API, they will need to opt in via email verification.
  • Do you have a sample php code snippet to do this post? Im not sure I know how to POST via php. Any couple line snippet with an example of adding a subscriber would be great.

    Thanks-
  • BenBen
    edited November 2012
    Use this snippet → http://snipt.org/vhfha3
This discussion has been closed.