# Looking at using Zoom's API but not an experienced developer

**URL:** <https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316>\
**Category:** Web\
**Created:** [June 4, 2018, 11:01am UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316 "2018-06-04T11:01:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joao\_Rocha](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Joao\_Rocha](https://devforum.zoom.us/u/Joao_Rocha)\
**Post date:** [June 4, 2018, 11:01am UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316/1 "2018-06-04T11:01:43Z")

</div>

Hi there,

I’m looking at building a simple app that enables me to get a user’s PMI by submitting their email address.

Although I know some javascript I haven’t worked with APIs before. Is there anyway I could see an example project (maybe a github repo) for a simple API implementation so I could edit to my needs?

Thank you very much.  
João.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [June 4, 2018, 4:55pm UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316/2 "2018-06-04T16:55:48Z")

</div>

Hi&nbsp;João,&nbsp;

Sure, here is the API to get a user’s PMI via email address ([https://zoom.github.io/api/#retrieve-a-user](https://zoom.github.io/api/#retrieve-a-user)). Also, here is a sample GitHub project along with documentation to get your started!

Github Project - [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web)

Docs -&nbsp;[https://zoom.github.io/zoom-sdk-web/tutorial-getting-started.html](https://zoom.github.io/zoom-sdk-web/tutorial-getting-started.html)

Thanks

Michael

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![Joao\_Rocha](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Joao\_Rocha](https://devforum.zoom.us/u/Joao_Rocha)\
**Post date:** [June 5, 2018, 3:50pm UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316/3 "2018-06-05T15:50:59Z")

</div>

Hi Michael!

Thanks for that.  
I’ve sat down with a developer here and have come up with the following:

(function(){

document.getElementById(‘requestPMI’).addEventListener(‘click’, function(e){

var userId = document.getElementById(‘user\_email’).value;  
var token = ‘OUR TOKEN’;

$.ajax({  
type: “GET”,  
jsonp: “callback”,  
dataType: “jsonp”,  
url: “[https://api.zoom.us/v2/users/](https://api.zoom.us/v2/users/)” + userId + “?access\_token=” + token,

jsonpCallback: ‘callback’,  
success: function (data) {

console.log(data);  
}

});

&nbsp;

&nbsp;

});

})();"

This generates a "Uncaught SyntaxError: Unexpected token : " though. If I click on this error I can see what the API returned though

({“id”:“34VOq4A\_SZmcV6ufRqWCFA”,“first\_name”:“João”,“last\_name”:“Rocha”,“email”:“[joao.rocha@transferwise.com](mailto:joao.rocha@transferwise.com)”,“type”:2,“pmi”:2086373653,“vanity\_url”:“[https://transferwise.zoom.us/my/joaorocha",“timezone”:“Europe/London”,“verified”:0,“dept”:“IT”,“created\_at”:“2017-04-20T16:47:44Z”,“last\_login\_time”:“2018-06-04T11:32:34Z”,“last\_client\_version”:“4.1.20199.0205(mac)”,“pic\_url”:“https://transferwise.zoom.us/p/34VOq4A\_SZmcV6ufRqWCFA/d704e6c5-0e15-4272-9d3c-ecfcce4b85c7-6385”,“account\_id”:"YBfuo2s-RXK6riCoZ3e4CQ](https://transferwise.zoom.us/my/joaorocha%22,%22timezone%22:%22Europe/London%22,%22verified%22:0,%22dept%22:%22IT%22,%22created_at%22:%222017-04-20T16:47:44Z%22,%22last_login_time%22:%222018-06-04T11:32:34Z%22,%22last_client_version%22:%224.1.20199.0205(mac)%22,%22pic_url%22:%22https://transferwise.zoom.us/p/34VOq4A_SZmcV6ufRqWCFA/d704e6c5-0e15-4272-9d3c-ecfcce4b85c7-6385%22,%22account_id%22:%22YBfuo2s-RXK6riCoZ3e4CQ)”} )

So we’ve established connection with the API but something seems to be wrong. Could you help at all?  
Thank you!

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [June 6, 2018, 8:26pm UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316/4 "2018-06-06T20:26:36Z")

</div>

Hi&nbsp;João,

Can you email us your accountID, along with the code to [developersupport@zoom.us](mailto:developersupport@zoom.us)? From there we can take a better look at troubleshooting your issue.&nbsp;

Thanks

Michael

---

<div class="post-metadata">

**Author:** ![Joao\_Rocha](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@Joao\_Rocha](https://devforum.zoom.us/u/Joao_Rocha)\
**Post date:** [June 7, 2018, 10:44am UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316/5 "2018-06-07T10:44:28Z")

</div>

Hi Michael,

&nbsp;

sure, looking at doing this right now.

Thank you.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 12, 2021, 11:00pm UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316/6 "2021-05-12T23:00:43Z")

</div>

Closing old topic.

-Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 12, 2021, 11:00pm UTC](https://devforum.zoom.us/t/looking-at-using-zooms-api-but-not-an-experienced-developer/1316/7 "2021-05-12T23:00:46Z")

</div>

Closed on May 12, 2021, 11:00pm UTC


