kchan
(Kenwrick)
March 3, 2020, 10:03pm
1
Doing a quick test with php https://help.zoominfo.com/18440-partners/oauth2-token-authentication#troubleshooting-tips
To start, you will need your PartnerCode(PC, password, and, if you desire, the email assigned to your partnercode with ZoomInfo.
To request an access token based on your JWT.
Do we build our jwt using our app key/secret? Is PartnerCode = api key or some other value?
The return packet I get is:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<TokenResponse xmlns="http://partnerapi.zoominfo.com/partnerapistatic/xsd/V1/TokenResponse.xsd">
<tokenError>
<errorCode>9001</errorCode>
<errorMessage>Unauthorized</errorMessage>
</tokenError>
</TokenResponse>
{using api key/secret}
tommy
(Tommy Gaessler)
March 3, 2020, 10:35pm
2
Hey @kchan , thanks for posting and using Zoom!
This forum is actually for zoom.us , not zoominfo.com .
Are you trying to integrate both zoom.us and zoominfo.com ?
Thanks,
Tommy
kchan
(Kenwrick)
March 3, 2020, 10:36pm
3
Sorry no, just confusion on my part. zoom.us only I guess. My path to look for info led there.
tommy
(Tommy Gaessler)
March 3, 2020, 10:37pm
4
Hey @kchan ,
Can I ask what you are trying to do?
Thanks,
Tommy
kchan
(Kenwrick)
March 3, 2020, 10:37pm
5
Trying to develop a script to download a meeting.
tommy
(Tommy Gaessler)
March 3, 2020, 10:39pm
6
Hey @kchan ,
Are you trying to download a Zoom Meeting Recording ?
-Tommy
kchan
(Kenwrick)
March 3, 2020, 10:39pm
7
Yes, automated via a script.
tommy
(Tommy Gaessler)
March 3, 2020, 11:41pm
8
Hey @kchan ,
You can use your Zoom JWT token to call the Get Meeting Recording endpoint:
GET https://api.zoom.us/v2/meetings/{meetingId}/recordings
Headers:
{
"Authorization": "Bearer JWT_TOKEN_HERE"
}
Then download the recording via the download_url.
If you want it to be truly automated, you can subscribe to the Meeting Recording Webhook Completed , and then download the recording via the download_url.
Thanks,
Tommy
kchan
(Kenwrick)
March 4, 2020, 12:03am
9
Thanks Tommy. I’ll try that.
kenwrick
1 Like
tommy
(Tommy Gaessler)
March 4, 2020, 12:04am
10
Happy to help!
Let me know if you have additional questions!
-Tommy