Can I publish a Notion page publicly through API calls?

I know how to make pages public manually through the Notion interface, but I need to do this programmatically. I’ve been searching through the official API documentation but can’t find any endpoints or methods that allow me to publish a page to the web using API calls. Has anyone figured out how to do this? I’m working on a project where I need to automatically make certain pages public based on specific conditions, so doing it manually isn’t really an option for me. Any help would be appreciated.

nope, can’t do it with the current api - it’s too limited. i hit the same wall and had to get creative. set up a webhook that pings me when pages need publishing, then i batch them manually every few days. not perfect, but it gets the job done.

Yeah, you’re hitting a major limitation with Notion’s API. I dealt with this exact problem last year building a content workflow and had to completely rethink everything. The API handles basic CRUD stuff fine, but public sharing? Totally locked out. I ended up using Notion as a backend and built my own frontend that pulls data through the API instead of relying on their public pages. More work upfront but you get full control over publishing. You could try browser automation with Selenium but it’ll break every time Notion updates their UI.

Nope, the Notion API doesn’t support this. I hit the same wall six months ago building an automated docs system. The API handles creating, updating, and retrieving pages just fine, but publishing them publicly? You’re stuck doing that manually through the web interface. I worked around it by using database properties to flag pages that needed publishing, then published them in batches by hand. Tons of developers have asked for this feature. You could try third-party tools or browser automation, but I haven’t found anything reliable yet.