Help with api create meeting with php

Hi @junaidali9559 from our Create a Meeting API docs:

This uses the pecl/http2 library:

<?php

$client = new http\Client;
$request = new http\Client\Request;

$body = new http\Message\Body;
$body->append('{"topic":"string","type":"integer","start_time":"string [date-time]","duration":"integer","schedule_for":"string","timezone":"string","password":"string","agenda":"string","recurrence":{"type":"integer","repeat_interval":"integer","weekly_days":"string","monthly_day":"integer","monthly_week":"integer","monthly_week_day":"integer","end_times":"integer","end_date_time":"string [date-time]"},"settings":{"host_video":"boolean","participant_video":"boolean","cn_meeting":"boolean","in_meeting":"boolean","join_before_host":"boolean","mute_upon_entry":"boolean","watermark":"boolean","use_pmi":"boolean","approval_type":"integer","registration_type":"integer","audio":"string","auto_recording":"string","enforce_login":"boolean","enforce_login_domains":"string","alternative_hosts":"string","global_dial_in_countries":["string"],"registrants_email_notification":"boolean"}}');

$request->setRequestUrl('https://api.zoom.us/v2/users/xxxxxxxxxxxx/meetings');
$request->setRequestMethod('POST');
$request->setBody($body);

$request->setHeaders(array(
  'content-type' => 'application/json',
  'authorization' => 'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdWQiOm51bGwsImlzcyI6InZlVmFjM1pUUV8tT3JTR1hRaDNvUEEiLCJleHAiOjE1ODczNDU4NTUsImlhdCI6MTU4NzM0MDQ1NX0.UP9SEMsrh10zBfwrIyAeo-pMyOlRYVqXMhW4TGZemM0'
));

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();