Update Contact

URL:

https://vortext.ca/api/1.0/api.cfm

Method:

POST

JSON Parameters:

* = Required parameters

Parameter Value
* action updatecontact
* token Your Access Token
* phone Contacts cell phone number
email Contacts email address
birthday Contacts date of birth

You include any field you wish to update in the JSON parameters including any custom fields that you may have added not just the fields listed above. Please see the add contact action for a complete list of fields. The contact information is updated using the phone number as the key field.

Example Request:

curl -H "Content-Type:application/json" -XPOST "https://vortext.ca/api/1.0/api.cfm" -d '{ "action":"updatecontact", "phone":"7053802406", "token":"Your access token", "email":"[email protected]", "birthday":"1/2/1963" }'

Response:

{ "success":"true", "message":"Contact updated OK" }