My company's slides suite has a master template that we use for all of our decks. I am building a script to automatically create Slides and populate them with some csv info. I have managed to create and populate the slides, and I can access ObjectId of some layouts in the master template if I append slides into an existent presentation, however, I want to create a presentation from scratch and use the layouts from our master template.
The problem is that I have no idea how to obtain the master template's ID to specify the master to be used when creating the presentation. I checked the docs for the slides API and I couldn't find anything telling you how to get it, only telling you that it exists, and I tried by getting the last portion of the URL when clicking on the "master layout" slide in the master template editor in the website, but the API call doesn't recognize it as a valid ID, or it just doesn't return anything so no master is set up.