Unauthorized Error for Billing details

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

  1. 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?

Hi @letapeed,

Welcome to the community!

  1. Is the account ID you are using the same account which created the JWT token?
  2. Have you ensured that the JWT token is still valid, and has not expired?


Hi @alexmayo, thanks for the reply.

  1. 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.

  2. Yes, I made sure to use a fresh token everytime I tried.

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.


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 .


1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.