# How to get a Zoom token and Zoom access token

**URL:** <https://devforum.zoom.us/t/how-to-get-a-zoom-token-and-zoom-access-token/6762>\
**Category:** iOS\
**Created:** [November 21, 2019, 12:05pm UTC](https://devforum.zoom.us/t/how-to-get-a-zoom-token-and-zoom-access-token/6762 "2019-11-21T12:05:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Arun](https://devforum.zoom.us/u/Arun)\
**Post date:** [November 21, 2019, 12:05pm UTC](https://devforum.zoom.us/t/how-to-get-a-zoom-token-and-zoom-access-token/6762/1 "2019-11-21T12:05:02Z")

</div>

**Description**  
I am trying to integrate the Zoom SDK into my own application and when i try to get the access token via API " **[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)(my emailID)/token?type=zak&access\_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ1NXVCbFE3clN4MkZKeEFBY3NPc29nIiwiZXhwIjoiMTIzNDU2Nzg5MTAxIn0.15GA151766GCxCP77dD8BTeU2XBfQQnhbHuPQ8v/axU=**"  
used the above api but i could’t get the Zoom access token instead i am getting an error as " **The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256**". When referring the MobileRTCSample app the the above api sends “kSDKUserID” as input parameter. Where can i get this kSDKUserID. Please assist me.

**Which version?**  
v4.4.56624.1028

**Screenshots**  
If applicable, add screenshots to help explain your problem.

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Version [e.g. 22]

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [November 21, 2019, 7:27pm UTC](https://devforum.zoom.us/t/how-to-get-a-zoom-token-and-zoom-access-token/6762/2 "2019-11-21T19:27:31Z")

</div>

Hi Arun,

Thanks for using Zoom SDK. You may use your email address as your UserID as mentioned in the doc([https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/api-user/authentication](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/start-join-meeting/api-user/authentication)):

 ![20%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/69f1b52ed9cd998889e7e34e0451b8fe9a5d14f1.png)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![Arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@Arun](https://devforum.zoom.us/u/Arun)\
**Post date:** [November 22, 2019, 5:20am UTC](https://devforum.zoom.us/t/how-to-get-a-zoom-token-and-zoom-access-token/6762/3 "2019-11-22T05:20:49Z")

</div>

Thanks @carson.zoom for your reply.

As you mentioned i have used my emailID as UserID but i am receiving the following error.

My API request is :-

[https://api.zoom.us/v2/users/my-emailID/token?type=token&access\_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ1NXVCbFE3clN4MkZKeEFBY3NPc29nIiwiZXhwIjoxNDk2MDkxOTY0MDAwfQ.0OB9oCSSaXQh2zJaqDBX2Q8ZkI7I2qmrQctcfNHRIv8](https://api.zoom.us/v2/users/my-emailID/token?type=token&access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ1NXVCbFE3clN4MkZKeEFBY3NPc29nIiwiZXhwIjoxNDk2MDkxOTY0MDAwfQ.0OB9oCSSaXQh2zJaqDBX2Q8ZkI7I2qmrQctcfNHRIv8)

response from the Zoom server is

{  
“code”: 124,  
“message”: “The Token’s Signature resulted invalid when verified using the Algorithm: HmacSHA256”  
}

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [November 23, 2019, 12:17am UTC](https://devforum.zoom.us/t/how-to-get-a-zoom-token-and-zoom-access-token/6762/4 "2019-11-23T00:17:10Z")

</div>

Hi Arun,

Thanks for the reply. Based on the info provided, the API request looks good to me. I am not able to reproduce the same error message you are getting. You may refer to the implementation in our demo:[https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSample/SDKPresenters/how\_to\_start\_join\_meeting/start\_with\_rest\_api\_user/SDKStartJoinMeetingPresenter%2BRestApiWithoutLoginUser.m](https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSample/SDKPresenters/how_to_start_join_meeting/start_with_rest_api_user/SDKStartJoinMeetingPresenter%2BRestApiWithoutLoginUser.m) to get the zoom token and the zoom access token.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:04pm UTC](https://devforum.zoom.us/t/how-to-get-a-zoom-token-and-zoom-access-token/6762/5 "2020-08-21T19:04:57Z")

</div>

Closed on August 21, 2020, 7:04pm UTC


