Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Substack (or similar) integration? Giving repo access to subscribers?

Richard Schilling March 5, 2024

Hello,

 

I would like to provide repo access to people who either a) subscribe to my Substack newsletter, or b) pay me a subscription fee on another platform.

 

Is there an API or integration that will allow me to do that? If I have to consider a specific subscription platform I have to use then that's fine just let me know what it is.

 

Perhaps using Repository Access Tokens are the answer here? I would just need to see an example of how to best setup the integration.

 

Thanks!

 

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2024

Hello @Richard Schilling and thank you for reaching out to Community!

While there's not an out-of-the-box integration that would automatically grant access to a repo based on a third-party platform, you have the option to use the  Bitbucket Cloud invitation API endpoint to invite a particular user to a repository based on their email.

You could then create a script/automation that is triggered when a user subscribes to your Substack, which will then invite that user's email to the repository using the invitation API mentioned above.

For further details and examples on how to use that endpoint, you can refer to its official documentation below : 

Thank you, @Richard Schilling !

Patrik S

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events