Update Contact

URL:

https://vortext.ca/vapi/1.0/

Method:

POST

JSON Parameters:

* = Required parameters

Parameter Value
* 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
POST https://vortext.ca/vapi/1.0/
-H "Authorization: Basic [your API key]"
-H "Action: updateContact"
-D 
         { 
            "phone":"7053802406",  
            "email":"[email protected]", 
            "birthday":"1/2/1963" 
         }
         
			

Response:

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