URL:
Method:
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 |
| jsmith@goog.com |
| 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":"jsmith@goog.com"
}
|
Response: