How to get a Zoom token and Zoom access token

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/(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.

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):

Hope this helps. Thanks!

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

response from the Zoom server is

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

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 to get the zoom token and the zoom access token.

Hope this helps. Thanks!