API : create a scenario via POST API

Hello community,

I have a little experience with Make, but not enough to find a solution to the technical issue I’d like to present to you.

I’m working on a web application that requires connections to other programs, and Make is obviously an excellent choice.

My application allows an artificial intelligence to receive and make phone calls, with a very high level of quality (voice, etc.) - and this is obviously manually controlled to avoid bringing in various scams.

I see that it’s possible to export a scenario as a .JSON document, which is great.

Is it possible to create a scenario on a client account, with its API key on my server (private data), by making a POST scenario request?

I’d imagine so, looking at the Make API documentation, but I’d like to ask you to avoid the technical problems you may have encountered;

Matthieu

Welcome @Matthieu_GARCIA; given you’ve access to the clients Make instance, you can use Make’s API to grab your baseline scenario, modify it, and then create it on the other system.

The caution I share is when you’re dealing with Connections and API Keys. Connections require somebody to click and confirm links. Created API Keys are solely placeholders unless you’ve the ID and secrets to pass during creation.

And once you’ve created those hooks, using regex on the scenario to replace old with new is pretty easy.