Downloading recording from webhook server

I’m trying to download a meeting recording from within my webhook server. I was able to successfully add a “recording completed” event, and my server is called with a packet of information, including: 1) download_token, 2) share_url, and 3) password. I’m not sure how to use these in my server to download the video file itself. Any tips appreciated. I am able, in javascript, to use axios to create a packet to download the share_url, with the download_token as the authorization/bearer, and the password, but what I get is an html doc, not a mp4 movie file. Is there sample code anywhere that shows how to download the recording once recording.completed is received?

@elisa.zoom , I really just want to have the recording go to a designated Object Store, and not have to do this manually. :wink:

Also, I don’t understand how to distribute / give this app to others in my company to use to auto-download their meetings (and post-process as needed). I’m not even sure why this app is “turned on”. I just thought I created the app, not actually run it, or install it in a meeting.

Hi @sci909 ,

I believe most of your questions can be addressed with the guidance here:

There is some sample code to help you.

Once you create an app, it is activated. Did you create a server to server or OAuth general app? Only general apps can be distributed to external users, but they have to go through a formal approval and publishing process so you do not have worry :slight_smile:

Thank you @gianni.zoom !!
I created a “webhook only” app. So that can’t be distributed? Only the creator of a Webhook Only app can use it?

Also: Which meetings will the webhook only app catch events for? All meetings with me as the owner/ organizer, or all meetings in my organization?

Thanks.

Hi @sci909 it depends on how you have the webhook only app scoped. Can you please tell me which you have added?