This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
api:v2.0:contact:update [2015/01/16 11:10] dan created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== API v2.0 - Update a Contact ====== | ||
- | This API Endpoint is used to add a update an existing Contact in the Sentori Account. | ||
- | |||
- | ===== Endpoint ===== | ||
- | |||
- | |URI| <nowiki>https://api.sentoriapp.com/v2.0/contact/update/email%40domain.com/</nowiki>| | ||
- | |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|<code>{ | ||
- | "EmailAddress":"newaddress@domain.com", | ||
- | "FirstName":"Joe", | ||
- | "LastName":"Blogs" | ||
- | }</code>| |