I’m developing a subscription-based content service.
Users subscribe via a messaging platform and, after payment, receive access to exclusive content managed through Notion. I want to know if Notion provides an API endpoint that can grant or revoke user permissions on a Notion page. Essentially, I’m looking for a method to programmatically control who sees my Notion content. Has anyone encountered such an API or an alternative solution?
i dont think notion allows permission changes via its api. your best bet might be setting up a manual process or a middleware to simulate that behaviour. not the cleanest solution, but it works if you manage access outside notion.
After developing a similar subscription setup, I can confirm that the Notion API does not provide endpoints for modifying user permissions directly. In my project, I resorted to using external tools that manage the access control dynamically outside of Notion. I built a system where users authenticate through my platform, and then I share the content through a separate process, effectively bypassing direct permission changes. While not ideal, this approach allowed for a workable solution until Notion potentially expands its API capabilities, so keep an eye on future releases.
I have encountered a similar issue while working on a project with subscription-based content. After realizing the Notion API doesn’t offer endpoints for managing user permissions programmatically, I ended up restructuring my device by handling access on my own infrastructure. This meant creating a gated access system separate from Notion where, upon verifying subscription status, users received dynamically generated temporary links to the content. This approach, although not as straightforward as direct API calls, proved effective in maintaining controlled access until a more integrated solution becomes available.