Create Subscribers with relation to the list
Method | POST |
---|---|
URL | http://api.responder.co.il/v1.0/lists/{list_id}/subscribers |
subscribers
required |
Array of Subscriber JSON objects
[ { "NAME" : "John Smith", "EMAIL" : "johnsmith@gmail.com", "PHONE" : "01-23456789", "DAY" : 12, "NOTIFY" => 2 // parameter for email's notification for the user about new subscriber. (0 - don't notify / 1 - notify / 2 - according to list's settings) }, { "NAME" : "Bob Jones", "EMAIL" : "bobjones@yahoo.com", "PHONE" : "09-87654321", "PERSONAL_FIELDS" : { 3 : "Tel Aviv", 49 : "Honda Civic" } "NOTIFY" => 0 // parameter for email's notification for the user about new subscriber. (0 - don't notify / 1 - notify / 2 - according to list's settings) } ] |
{ "SUBSCRIBERS_CREATED" : [123], "EMAILS_INVALID" : [], "EMAILS_EXISTING" : ["johnsmith@gmail.com"], "EMAILS_BANNED" : [], "PHONES_INVALID" : [], "PHONES_EXISTING" : [], "BAD_PERSONAL_FIELDS" : { 123 : { 3 : "Tel Aviv" } }, "ERRORS" : [] }