C# API Auth token issues

Hello Ojus,

sorry for the delay in reply, could not reply to earlier post was getting error.
thank you Ojus.
tried the documentation

POST https://zoom.us/oauth/token

{

“grant_type”:“authorization_code”,

“code”:“XXXXXXXXXXXXXXXXXX”,

“redirect_uri”:“https://myredirectURI

}

added Header information
String authHeader = System.Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes(clientId + “:” + clientSecret));
request.Headers.Add(“Authorization”, “Basic” + authHeader);

i get error Bad Request as response.

also the app i created in my zoom, will the authorization code work if app not published?
if so where do you set the app icon for the app, added image still publish button not enabled.

what am i missing ? please advise, thank you.

HI James,

Can you please send your request details to developersupport@zoom.us?

Thanks

Hi James,

Any chance you can post the result?

I’m stuck in this spot myself. I don’t want to use the SDK, Postman for Windows doesn’t work, because it wants to run on the graphics card?(I think I read that correctly)?, and the Zoom documentation I suspect needs a freshen up - it’s examples don’t seem to reflect the results of API v2.

Dean

Hey @dean_shexie.com.au,

Please follow our updated OAuth docs here: https://marketplace.zoom.us/docs/guides/auth/oauth

Thanks,
Tommy