# GET meeting start time/date without it being your own meeting

**URL:** <https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228>\
**Category:** API and Webhooks\
**Created:** [March 22, 2021, 1:44pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228 "2021-03-22T13:44:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![diederiklensink](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diederiklensink/32/24877_2.png) [@diederiklensink](https://devforum.zoom.us/u/diederiklensink)\
**Post date:** [March 22, 2021, 1:44pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/1 "2021-03-22T13:44:55Z")

</div>

**Description**  
I am trying to GET the start time and date of a Zoom meeting for a certain {meetingID}, while I am not the owner/creator.

**Error**  
When making the request, I get a 400 Bad request error.

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

**Which Endpoint/s?**  
I am making a GET request to: [https://api.zoom.us/v2/meetings/{meetingId}](https://api.zoom.us/v2/meetings/%7BmeetingId%7D)

**Additional context**  
Now I am wondering if it is even possible to make such a request for a meeting that is not yours.

---

<div class="post-metadata">

**Author:** ![alexmayo](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/alexmayo/32/27289_2.png) [@alexmayo](https://devforum.zoom.us/u/alexmayo)\
**Post date:** [March 22, 2021, 2:26pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/2 "2021-03-22T14:26:37Z")

</div>

Hi @diederiklensink,

Welcome to the community!

You’re using the JWT method for authentication which only allows access to the account it is created on.

You need to use the [OAuth](https://marketplace.zoom.us/docs/guides/auth/oauth) method for accessing others accounts.

Thanks,  
Alex

---

<div class="post-metadata">

**Author:** ![diederiklensink](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diederiklensink/32/24877_2.png) [@diederiklensink](https://devforum.zoom.us/u/diederiklensink)\
**Post date:** [March 22, 2021, 2:48pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/3 "2021-03-22T14:48:02Z")

</div>

Hi, thanks for you reply!

The reason I chose for the JWT method was that you constantly need to generate a new token, and for a bot I thought that maybe was not the most efficient way.

Anyway I will try your method and see if it works.

Thanks,  
Diederik

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 22, 2021, 10:48pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/4 "2021-03-22T22:48:39Z")

</div>

Hey @diederiklensink,

Thank you for reaching out to the Zoom Developer Forum. I can confirm that @alexmayo is correct. If you want to call an API on behalf of another account, you’ll want to use an [OAuth App](https://marketplace.zoom.us/docs/guides/auth/oauth). Please note, in order for users on other accounts to be able to install the app it will need to be published to the marketplace.

Here’s some more info:

> **[OAuth - Build an App - Documentation](https://marketplace.zoom.us/docs/guides/build/oauth-app)**
>
> Create an OAuth App
> 
> OAuth 2.0 is the industry-standard authorization protocol that allows applications to obtain requested access to user accounts over...

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![diederiklensink](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diederiklensink/32/24877_2.png) [@diederiklensink](https://devforum.zoom.us/u/diederiklensink)\
**Post date:** [March 23, 2021, 12:10am UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/5 "2021-03-23T00:10:07Z")

</div>

Hi @MaxM,

To give you some more context, I am making a discord bot which reads the meeting id from a website and uses this to see when this meeting will start. Five minutes or so before it starts the bot will send a message with how to join. The problem now is, how to let this bot get this starttime all by itself, because I cannot just simply send a GET or POST request to the specific endpoint without this token being a **final** value it can use. Anyhow, I am struggling to make it collect the _access token_, which shows that authorization page before it redirects you and I am not sure how to make that work in the same code.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 23, 2021, 7:06pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/6 "2021-03-23T19:06:23Z")

</div>

Hey @diederiklensink,

Thank you for providing more detail. I haven’t worked with Discord bots before so I looked into how this can be done but I wasn’t able to find any solid steps on using an external OAuth flow with a Discord bot.

I’m not sure if this would be possible with just a Discord bot. You may want to create a website that is able to handle the OAuth flow for zoom and serve as an API for your bot. You can create a public facing link to your site that redirects to the authorization URL and manage the access\_token from that site.

I’m not sure if that would work for your use case. You might also be able to accomplish this with just a Discord bot but I’m not seeing how on my end.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![diederiklensink](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/diederiklensink/32/24877_2.png) [@diederiklensink](https://devforum.zoom.us/u/diederiklensink)\
**Post date:** [March 29, 2021, 3:32pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/7 "2021-03-29T15:32:16Z")

</div>

Hey @MaxM,

It has been a while but I have gotten something working to try if my idea is even possible.  
I encountered a new problem, because I now get the error message: “This API is only available for Business or higher accounts that have enabled the Dashboard feature.” Does this mean you cannot just make a GET request to a meeting that is not yours? By the way, I used the /metrics/meetings/{meetingId} endpoint for this one, because if I used the normal /meetings/ it would give me the “Meeting {meetingId} is not found or has expired.”, so I think that one is only for meetings created on you own account.

Thanks,  
Diederik

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 29, 2021, 10:48pm UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/8 "2021-03-29T22:48:17Z")

</div>

Hey @diederiklensink,

I’m glad to hear that you’re making progress! When it comes to calling the [Get Meeting Details Dashboard API](https://marketplace.zoom.us/docs/api-reference/zoom-api/dashboards/dashboardmeetingdetail), you will want to make sure that the account calling it has a [business plan](https://zoom.us/pricing) or higher.

However, the Dashboard APIs are mainly used for live meetings, depending on what you provide for the `type` parameter. If you want information about a meeting but you don’t require specific details about a live meeting, you can use the [Get a Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting).

I’ll also note that while the app you’re creating has not been published on the marketplace, it can only be installed on your account.

Let me know if that helps.

Thanks,  
Max

---

<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:** [April 29, 2021, 8:48am UTC](https://devforum.zoom.us/t/get-meeting-start-time-date-without-it-being-your-own-meeting/46228/9 "2021-04-29T08:48:46Z")

</div>

Closed on April 29, 2021, 8:48am UTC

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