this is my list where i can echo
only the meeting url. but i want to echo details like- meeting id, password, and other meeting details.
<?php
require_once 'config.php';
function list_meetings($next_page_token = '') {
$db = new DB();
$arr_token = $db->get_access_token();
$accessToken = $arr_token->access_token;
$client = new GuzzleHttp\Client(['base_uri' => 'https://api.zoom.us']);
$arr_request = [
"headers" => [
"Authorization" => "Bearer $accessToken"
]
];
if (!empty($next_page_token)) {
$arr_request['query'] = ["next_page_token" => $next_page_token];
}
$response = $client->request('GET', '/v2/users/me/meetings', $arr_request);
$data = json_decode($response->getBody());
if ( !empty($data) ) {
foreach ( $data->meetings as $d ) {
$topic = $d->topic;
$join_url = $d->join_url;
echo "
Topic: $topic
";
echo "Join URL: $join_url";
}
if ( !empty($data->next_page_token) ) {
list_meetings($data->next_page_token);
}
}
}
list_meetings();
Hi @info.lokbazar
Thanks for reaching out to the Zoom Developer Forum and welcome to our community, I am happy to help here!
Have you looked into our Get meeting endpoint?
Let me know if this helps,
Elisa
system
(system)
Closed
3
This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.