This is an old revision of the document!
This API Endpoint is used to add a new Contact to the Sentori Account. If no Contact Fields are included in the add you can use GET on this Endpoint, if including Contact Fields then you must use POST.
URI | https://api.sentoriapp.com/v2.0/contact/add/email%40domain.com/ |
Method | POST or GET |
Request body is only required if including Contact Fields. The example below would add a new Contact with the FirstName and LastName Contact Fields being set.
Example | { "FirstName":"Joe", "LastName":"Blogs" } |
This API Endpoint is used to add a update an existing Contact in the Sentori Account.
URI | https://api.sentoriapp.com/v2.0/contact/update/email%40domain.com/ |
Method | POST |
Request body should contain the Contact Fields to update. The below example updates the email address and first/last names.
Example | { "EmailAddress":"newaddress@domain.com", "FirstName":"Joe", "LastName":"Blogs" } |
This API Endpoint is used to add a Contact to a Mailing List. You can find the Mailing List external IDs on the Mailing List page in Sentori.
URI | https://api.sentoriapp.com/v2.0/contact/subscribe/email%40domain.com/MailingListExternalID |
Method | GET |
This API Endpoint is used to remove a Contact from a Mailing List or to remove from all Mailing Lists and suppress the Contact. You can find the Mailing List external IDs on the Mailing List page in Sentori.
URI | https://api.sentoriapp.com/v2.0/contact/unsubscribe/email%40domain.com/MailingListExternalID/ |
Method | GET |
URI | https://api.sentoriapp.com/v2.0/contact/unsubscribe/email%40domain.com/ |
Method | GET |