I’m calling the /accounts/{accountId}/billing endpoint. I have a pro account with an active subscription.
I’m calling the API from Postman. Here are the details for the request:
URL: https://api.zoom.us/v2/accounts/[accountid]/billing
Method: GET
Headers:
Basic [JWT token from the App marketplace profile page]
I get a 401 Unauthorized error with error description:
{
“code”: 124,
“message”: “Invalid access token.”
}
What exactly am I missing?
alexmayo
(Alex Mayo)
March 23, 2021, 11:37am
2
Hi @letapeed ,
Welcome to the community!
Is the account ID you are using the same account which created the JWT token?
Have you ensured that the JWT token is still valid, and has not expired?
Thanks,
Alex
Hi @alexmayo , thanks for the reply.
Where can I find the acc ID that I use to create the JWT Token? The acc id I found was through the v2/users/me endpoint.
Yes, I made sure to use a fresh token everytime I tried.
alexmayo
(Alex Mayo)
March 23, 2021, 2:01pm
4
Hi @letapeed ,
The JWT token is created using your API Key, not your Account ID. Please see https://marketplace.zoom.us/docs/guides/auth/jwt for a guide on how a JWT token should be created.
Thanks,
Alex
Hi @letapeed ,
This endpoints requires not only that you have a Pro license, but also that you have a Master Account setup:
If you’d like to use this endpoint, you’ll need to get this enabled by reaching out to partner-success@zoom.us .
Thanks,
Will
1 Like
system
(system)
Closed
April 24, 2021, 2:42am
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.