key | value | usage |
---|---|---|
accName |
|
Profile name to add recipient to |
listName |
|
List name to add recipient to |
doubleOptin |
|
Passively opt recipient in, and trigger signup confirmation email. Custom confirmation emails can be triggered via signup automations |
successUrl |
|
URL to redirect to upon successful completion (OK) : Use NO-REDIRECT for test purposes |
errorUrl |
|
URL to redirect to upon error completion : Use NO-REDIRECT for test purposes |
|
Email address of recipient being added to the contact list (optional if mobile provided) | |
mobile |
|
Mobile number of recipient being added to the contact list (optional if email provided) |
firstName |
|
Custom field firstName to be populated by the value string for this record |
key | value | usage |
---|---|---|
accName |
|
Profile name to add recipient to |
mode |
|
Set the list builder mode to OPTOUT |
|
Email address of recipient being added to the contact list (optional if mobile provided) | |
mobile |
|
Mobile number of recipient being added to the contact list (optional if email provided) |
key | value | usage |
---|---|---|
accName |
|
Profile name to add recipient to |
listName |
|
List name to remove recipient from |
mode |
|
Set the list builder mode to REMOVE |
|
Email address of recipient being removed from the contact list (parameter may be a mobile number if dealing with SMS) | |
mobile |
|
Mobile number of recipient being added to the contact list (optional if email provided) |
Type | code | content : string |
---|---|---|
Success | 200 | OK |
Error | 200 | Error : Error Message |
curl --data "accName=profile&listName=list&doubleOptin=FALSE&successUrl=NO-REDIRECT&errorUrl=NO-REDIRECT&firstName=Test&email=test@test.com" 'http://response.pure360.com/interface/list.php'
This CURL request adds the address "[test@test.com](mailto:test@test.com)" to the list called "list" in the profile called "profile", it performs validation of the address, doesn't trigger a doubleOptin email, and assuming the list has the custom field "firstName" it adds the value "Test" for this record.
curl --data "accName=profile&email=test@test.com&mode=OPTOUT" 'http://response.pure360.com/interface/list.php';
This CURL request opts the recipient given by the email address parameter, out of the profile given by the accName parameter.
curl --data "accName=profile&listName=list&email=test@test.com&mode=REMOVE" 'http://response.pure360.com/interface/list.php';
This CURL request removes the recipient given by the email address parameter from the list called "list" in the profile given by the accName parameter.