cancel
Showing results for 
Search instead for 
Did you mean: 
Effective January 9th, 2026 through January 22nd, 2026: The Zoom Community is currently in read-only mode with login disabled, to deliver you a new and improved community experience!

The site is still accessible to view, however, the ability to login, create content, or access your community account is temporarily unavailable. We appreciate your patience during this time. If seeking support, please browse existing community content or ask our Zoom Virtual Agent.

Unable to find out "users/me" details in Web zoom Apps

ayushrajput-k1w
Newcomer
Newcomer
var clientId = 'XXXXXXXXXX';
    var clientSecret = 'XXXXXXXXXXXXXXXXX';
    var encodedData = Buffer.from(clientId + ':' + clientSecret).toString('base64');
    var authorizationHeaderString = 'Authorization: Basic ' + encodedData;
   
    let options = {
        method: 'POST',
        headers: {
            Authorization: `Basic ${encodedData}`,
        },
    };
    request(options, (error, response) => {
        var rs = JSON.parse(response.body);
        var access_token = rs.access_token;
        console.log(access_token);
    //----------------------
        const options1 = {
            uri: 'https://api.zoom.us/v2/users/me',
            qs: {
                'status': 'active'
            },
            auth: {
                'bearer': access_token
            },
            headers: {
                "alg": "HS256",
                "typ": "JWT"
              },
            json: true // Parse the JSON string in the response
        };    
          request(options1, function (error, response, body) {
            console.log(body);
          });
       
    //------------------------

   });
 
 
In valid token problem
1 REPLY 1

Bort
Zoom Employee
Zoom Employee

Hi @ayushrajput-k1w 

 

This question would be better suited for the Zoom Developer's Forum, a dedicated forum for API, SDK, and other developer's questions. That forum can be found here: https://devforum.zoom.us/