The Contact Endpoints are used to modify Contacts within Sentori.
This endpoint is used to add a new Contact to the Sentori Account. If no Contact Fields need to be set then the Contact can be added using a GET request, when including Contact Fields in a request then they most be in a POST body.
Note: The EmailAddress Contact Field should not appear in the Add request body, add will fail if it doesn't match the request URI.
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 endpoint is used to update an existing Contacts Contact Fields in the Sentori Account.
If updating the EmailAddress use the existing one in the URI and the new one in the request body.
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 endpoint is used to subscribe 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 endpoint is used to unsubscribe a Contact from 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/unsubscribe/email%40domain.com/MailingListExternalID/ |
Method | GET |
This endpoint is used to unsubscribe a Contact from all Mailing Lists and add them to the Suppression List.
URI | https://api.sentoriapp.com/v2.0/contact/unsubscribe/email%40domain.com/ |
Method | GET |