C# API automation for deleting the cloud recordings using OAuth

Using this template helps us debug your issues more effectively :slight_smile:

Description
I have created OAuth app in zoom and I am trying to develop an application that can delete the cloud recordings after they are moved to a safer location. I also have webhook that triggers when recordings are complete which works fine.

Error
I was able to successfully do this action through post man. I am trying to develop an API in C# which can automate this process. I have client id n secret. But I am unable to authenticate in the API. Can you please provide a way to do it in C#? What exactly is redirect url going? (I created a Post request in controller and deployed to my DEV and added that url as redirect url - please confirm if this is correcT)

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
https://api.zoom.us/v2/meetings/{meeeting_id}/recordings?action=trash

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body
  2. See error

Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Hi, @pavani.kokkiragadda,

Thank you for posting – I am happy to help! To start, can you share the C# script used to authenticate the API? Also, I kindly ask can you share any errors you encounter when running your script?

The redirect will go to the URL that you have provided in the Marketplace App configuration.

Redirect URL for OAuth

https://marketplace.zoom.us/docs/guides/build/oauth-app#redirect-url-for-oauth

Regards,
Donte