<main>
<article class="userContent">
<p>This page gives an example to create meeting links and optionally download the recording of the meeting.</p><h2 data-id="create-appointment">Create appointment</h2><p>With the following API you can create an appointment: <a href="https://developers.chatvisor.com/#operation/createUsingPOST" rel="nofollow noreferrer ugc">https://developers.chatvisor.com/#operation/createUsingPOST</a></p><p>Request</p><p>Response</p><pre class="code codeBlock" spellcheck="false" tabindex="0">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"}
}
</pre><h2 data-id="download-recording">Download recording</h2><h3 data-id="list-recordings">List recordings</h3><p>Before you can download a recording you have to list the recordings based on the <code class="code codeInline" spellcheck="false" tabindex="0">customerId</code>. <a href="https://developers.chatvisor.com/#operation/listUsingGET_3" rel="nofollow noreferrer ugc">https://developers.chatvisor.com/#operation/listUsingGET_3</a></p><p>The <code class="code codeInline" spellcheck="false" tabindex="0">customerId</code> is equal to the appointment id if the appointment was created without <code class="code codeInline" spellcheck="false" tabindex="0">customerId</code>.</p><h3 data-id="download-recording-1">Download recording</h3><p>Use the ID of the recording what you get from listing the recordings and use is for downloading the recording.</p><p>Request</p><pre class="code codeBlock" spellcheck="false" tabindex="0">GET https://api.chatvisor.com/rest/v1/callrecording/download/<ID>?access_token=<TOKEN>
</pre><p><br></p>
</article>
</main>