PHP code example of callab / api

1. Go to this page and download the library: Download callab/api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

callab / api example snippets




key = "68481fb0-a98e-11ea-b627-8b2a92262801";
$secret_key = "8f0a9c7228e7893ef0f7d9706dce499c34501714";
$base_url = "https://app.callab.me";

// 1. Create instance of Client with credentials
$client = new CallabClient($base_url, $api_key, $secret_key);

// 2. Schedule meeting
$response = $client->scheduleMeeting(
    '30.04.2021 13:30:00',
    '30.04.2021 13:55:00',
    'My meeting with somebody',
    'Europe/Berlin'
);

var_dump($response);