Hey Dan I dug into this more:
Unfortunately, this isn't currently supported either. While you can use format: "webpage" to generate content intended for a site, the actual publishing step (making it live at a *.gamma.site URL) still requires going through the web UI.
So the current workflow would be:
- 1.
Generate via API with format: "webpage"
- 2.
Open the returned gammaUrl in Gamma
- 3.
Publish manually from there
I know that's not the seamless automation you're looking for. If programmatic publishing is important for your use case, I'd encourage you to drop that feedback in #feature-requests or the feedback form - it helps the team prioritize what to build next.
Let me know if you have other questions!