This page gives an example to create meeting links and optionally download the recording of the meeting.
Create appointment
With the following API you can create an appointment: https://developers.chatvisor.com/#operation/createUsingPOST
Request
Response
POST https://api.chatvisor.com/rest/v1/appointment?access_token=<TOKEN>
BODY:
{
"attendees": [
"test2@xaleon.com"
],
"date": "2020-11-11T13:10:00",
"description": "Testdescription",
"durationInMinutes": 30,
"timezoneId": "Europe/Vienna",
"owner": "test@xaleon.com",
"password": "testpassword",
"record": false,
"sendInviteEmail": false,
"title": "Testappointment",
"validAfter": 13245,
"validBefore": 13245,
"validType": "HOURS",
"customProperties": {"property1": "propertyvalue"}
}
Download recording
List recordings
Before you can download a recording you have to list the recordings based on the customerId
. https://developers.chatvisor.com/#operation/listUsingGET_3
The customerId
is equal to the appointment id if the appointment was created without customerId
.
Download recording
Use the ID of the recording what you get from listing the recordings and use is for downloading the recording.
Request
GET https://api.chatvisor.com/rest/v1/callrecording/download/<ID>?access_token=<TOKEN>