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" } |