This is an old revision of the document!


API Contact Endpoints

Add a Contact

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.

Endpoint

URI https://api.sentoriapp.com/v2.0/contact/add/email%40domain.com/
Method POST or GET

Request Body

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

Update a Contact

This API Endpoint is used to add a update an existing Contact in the Sentori Account.

Endpoint

URI https://api.sentoriapp.com/v2.0/contact/update/email%40domain.com/
Method POST

Request Body

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