Create an Appointment

URL:

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

Method:

POST

HTTP Header Parameters:

* = Required parameters

Parameter Value
* action addappointment
* authorization Basic [YOUR API KEY]

JSON Parameters:

* = Required parameters

Parameter Value
* firstname John
* cell_phone 1234567890
* start_date 1/1/2020
* start_time 17
end_time 19
lastname Smith
company ABC Consulting
email [email protected]
Example Request
POST https://vortext.ca/vapi/1.0/
-H "Authorization: Basic [your API key]"
-H "Action: AppAppointment"
-D 
         {
            "firstname":"John",
            "cell_phone":"1234567890",
            "start_date":"1/1/2020",
            "start_time":"17:00:00",
            "end_time":"19:00:00",
            "lastname":"Smith",
            "company":"ABC Consulting",
            "email":"[email protected]"   
         }
         
			

Response:

{ "success":"true", "message":"Appointment added OK" }