# How to Get Meeting List by using JWT

**URL:** <https://devforum.zoom.us/t/how-to-get-meeting-list-by-using-jwt/39208>\
**Category:** API and Webhooks\
**Created:** [December 26, 2020, 3:41pm UTC](https://devforum.zoom.us/t/how-to-get-meeting-list-by-using-jwt/39208 "2020-12-26T15:41:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom42](https://avatars.discourse-cdn.com/v4/letter/z/b77776/32.png) [@zoom42](https://devforum.zoom.us/u/zoom42)\
**Post date:** [December 26, 2020, 3:41pm UTC](https://devforum.zoom.us/t/how-to-get-meeting-list-by-using-jwt/39208/1 "2020-12-26T15:41:50Z")

</div>

**Description**  
I have a couple of accounts, and create meetings in each accounts.  
then, I want to list-up there meetings.  
I made JWT apps in each accounts, and try to get JWT tokens.  
However I have a two errors.

**Error**

- JWT tokens are time out
- I couldn’t get meeting list well

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)(acount’ mail address)/meetings

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. I wrote this script in GoogleAppsScript

```auto
function test(){
  var response = UrlFetchApp.fetch("https://api.zoom.us/v2/users/(account' mailaddress)/meetings", {
    'method' : 'get',
    'contentType': 'application/json',
    'payload' : JSON.stringify({
      page_size:30
    }),
    'headers': {
      'Authorization': 'Bearer (JWT token)'
    }
  });
  var encoded_json = JSON.parse(response)
  console.log(encoded_json)
}

```

1. See error  
the log was this

```auto
{ uuid: 'G ******************** w==',
  id: 9 ********* 5,
  host_id: '0 ***************** Q',
  host_email: ' ******@***.ne.jp',
  topic: 'Zoom Meeting',
  type: 2,
  status: 'waiting',
  start_time: '2020-12-26T15:00:54Z',
  duration: 60,
  timezone: 'Asia/Tokyo',
  created_at: '2020-12-26T15:00:54Z',
  start_url: 'https://zoom.us/s/9 *********5?zak=ey****** Z2ZCjiMrg',
  join_url: 'https://zoom.us/j/9 ********* 5',
  settings: 
   { host_video: true,
     participant_video: true,
     cn_meeting: false,
     in_meeting: false,
     join_before_host: false,
     jbh_time: 0,
     mute_upon_entry: false,
     watermark: false,
     use_pmi: false,
     approval_type: 2,
     audio: 'voip',
     auto_recording: 'none',
     enforce_login: false,
     enforce_login_domains: '',
     alternative_hosts: '',
     close_registration: false,
     show_share_button: false,
     allow_multiple_devices: false,
     registrants_confirmation_email: true,
     waiting_room: true,
     request_permission_to_unmute_participants: false,
     registrants_email_notification: true,
     meeting_authentication: false,
     encryption_type: 'enhanced_encryption',
     approved_or_denied_countries_or_regions: { enable: false } } }

```

I certainly booked 3meetings, but the script responsed the information that was 1st one of 3 meetings.  
(and Due to the JWT has s time limit, I should generate token  
every time)  
I solute that two problems.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [December 28, 2020, 8:33pm UTC](https://devforum.zoom.us/t/how-to-get-meeting-list-by-using-jwt/39208/2 "2020-12-28T20:33:04Z")

</div>

Hi @zoom42,

Thanks for reaching out about this, and happy to help out.

As a first step, can you clarify what the error is that you’re running into? Are you receiving an error message or are you getting unexpected results in the API response?

In regards to the token, please note that you can adjust the expiration time by navigating to your JWT app, click on the Credentials tab, select “View JWT Token” and selecting **Other** to enter a custom expiration date:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/3/53076fd3b3610c181564421cd4a4993586189efc.png)

Let me know if this helps!

Best,  
Will

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 28, 2021, 6:33am UTC](https://devforum.zoom.us/t/how-to-get-meeting-list-by-using-jwt/39208/3 "2021-01-28T06:33:13Z")

</div>

Closed on January 28, 2021, 6:33am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
