# Unable get meeting details through REST API v2

**URL:** <https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409>\
**Category:** Authentication\
**Created:** [March 27, 2023, 12:59pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409 "2023-03-27T12:59:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![khoros-webinar-2](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@khoros-webinar-2](https://devforum.zoom.us/u/khoros-webinar-2)\
**Post date:** [March 27, 2023, 12:59pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/1 "2023-03-27T12:59:45Z")

</div>

Facing an issue while accessing `https://api.zoom.us/v2/meetings/{meetingId}` API. Getting “Access token is expired”

{  
“code”: 124,  
“message”: “Access token is expired.”  
}

Using Meeting SDK (the app is not published)  
Curl looks like \>  
curl --location --request GET ‘[https://api.zoom.us/v2/meetings/{meetingID}](https://api.zoom.us/v2/meetings/%7BmeetingID%7D)’ --header ‘authorization: Bearer ’

Following [https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt](https://developers.zoom.us/docs/meeting-sdk/auth/#generate-a-meeting-sdk-jwt) for generating the jwt token

Using SDKKey and SDK Secret to create JWT token but getting Access token is expired.

Please help.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 27, 2023, 5:09pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/2 "2023-03-27T17:09:16Z")

</div>

@khoros-webinar-2,

Thank you for posting on the Zoom Developer Forum. Based on the description, it sounds like you are looking to make an API request for the Get Meeting API endpoint. Is that correct? If so, you would not use the SDK JWT token. Instead, you want to use the OAuth Access token. Here is Zoom support documentation for `Using an access token`. Take a look and let us know if you have any questions or comments:

## Using an access token

> **[OAuth 2.0](https://developers.zoom.us/docs/integrations/oauth/#using-an-access-token)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

---

<div class="post-metadata">

**Author:** ![khoros-webinar-2](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@khoros-webinar-2](https://devforum.zoom.us/u/khoros-webinar-2)\
**Post date:** [March 27, 2023, 5:33pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/3 "2023-03-27T17:33:58Z")

</div>

@donte.zoom

In my app when user adds a zoom meetings URL , I need to verify if the zoom URL is valid ,so we are calling meetings api from the application to get the meeting details. previously we were using jwt app type and as that’s depricated we started using SDK app type.

I cannot use oauth , as the application is calling the API for validation.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 27, 2023, 5:47pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/4 "2023-03-27T17:47:25Z")

</div>

@khoros-webinar-2 ,

Thanks for the detail. If you are looking to validate Zoom URLs for users outside of your account, then you will want to use the OAuth Marketplace app. That app can be published in the Zoom Marketplace. Can you use the credentials for OAuth app ?

---

<div class="post-metadata">

**Author:** ![khoros-webinar-2](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@khoros-webinar-2](https://devforum.zoom.us/u/khoros-webinar-2)\
**Post date:** [March 27, 2023, 6:06pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/5 "2023-03-27T18:06:20Z")

</div>

> [@donte.zoom](#):
>
> Can you use the credentials for OAuth app ?

I am trying to use the OAuth for getting the access token as u suggested. But [https://zoom.us/oauth/token](https://zoom.us/oauth/token) API needs account\_id along with client\_id and client\_secret for getting the `access_token` (hoping I will be able to use it for calling meeting API). I’m using a SDK type app, so how can I get the “account\_id” for SDK APP type ? or Do I need to create a Oauth App ?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 27, 2023, 8:32pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/6 "2023-03-27T20:32:52Z")

</div>

Hey, @khoros-webinar-2 ,

For OAuth, `account_id` is not required to get a Zoom Access Token. To quickly get started with Zoom APIs, you can use Zoom’s Public Workspace which includes done for your workflows and links to the relevant documentation. Take look at the OAuth Authorization workflows linked below:

### Zoom-PostMan-Public Workspace : Done-for-You Developer API Workflows

 ![Zoom-PostMan-Public Workspace](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/3/e3c8fdfb8f58b137299356bf08fe1862f33d2d22.png)

### Zoom-PostMan-Public Workspace: OAuth App Authorization & Authentication Link

- [Postman](https://www.postman.com/zoom-developer/workspace/zoom-public-workspace/folder/22097587-4ce41fb2-7e24-4787-b0ee-0ef73b1a91e6?ctx=documentation)

### Build Video Communications Solutions Faster with Zoom’s Postman Workspace

[![](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/0/306f5faf1dec3a22f482960cdb8da6c4e886b858.jpeg "Build Video Communications Solutions Faster with Zoom's Postman Workspace") ](https://www.youtube.com/watch?v=kQ7hkXBvLe0)

* * *

You should also know that you can generate code snippets of the Zoom API endpoint you are calling in Postman. Here the documentation on that for reference

### Generating code snippets in Postman

> **[Generate code snippets from API requests | Postman Docs](https://learning.postman.com/docs/sending-requests/create-requests/generate-code-snippets/)**
>
> Postman can convert an API request into a code snippet. You can then use the generated code snippet in your front-end application to make calls to an API.

It is also important to note we also have an `Understanding the different Marketplace App types` support documentation for your reference. Take look at the support documentation below:

### Understanding app types Link

> **[Key concepts for Zoom Developer Platform](https://developers.zoom.us/docs/platform/key-concepts/#understanding-app-types)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Please let us know if you have any questions about this.

---

<div class="post-metadata">

**Author:** ![khoros-webinar-2](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@khoros-webinar-2](https://devforum.zoom.us/u/khoros-webinar-2)\
**Post date:** [March 28, 2023, 3:20pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/7 "2023-03-28T15:20:19Z")

</div>

Hey @donte.zoom , I imported the postman collection and tried the API. But still getting “400 bad request” with “unsupported grant type” . Even the following curl gave me 400

```auto
curl --request POST 'https://zoom.us/oauth/token?response_type=code&client_id=xdGS97kuQJvJ1ymu7evng&redirect_uri=https://zoom.us'

```

 ![Screenshot 2023-03-28 at 8.49.55 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/7/2765c55833c93d3de6b08b5dfac9677b78880f4b.jpeg)

Here are the scopes added as part of SDK meetings app :

 ![Screenshot 2023-03-28 at 8.51.18 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/8/88fb0d119b3f7a3ae828fa3bd5d4d10c2c1ef213.png)

Please let me know if I am missing anything.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [March 28, 2023, 6:23pm UTC](https://devforum.zoom.us/t/unable-get-meeting-details-through-rest-api-v2/85409/8 "2023-03-28T18:23:08Z")

</div>

Happy to help @khoros-webinar-2 ! Please see this step-by-step video demonstrating how to create and configure a Zoom Marketplace OAuth app and manually request an User Authorization & Access Token with Zoom Postman Public Workspace:

# [Zoom Postman Public Workspace: Request User Authorization & Access Token Workflow Demo Video](https://www.loom.com/share/b967cf6957674492b0fb9a21b4ad9aec)

https://www.loom.com/embed/2f26874e5aef40efb65e0d98fb32d1bb
