Hello,
There is any api to share content page?
Hello @abhipanchal,
Confluence Cloud does have a REST-API which you can use to retrieve content.
Have a look below:
You'll need to generate an API token to authenticate in Cloud, so have a read through our API Tokens documentation for more on that.
If you have any trouble at all, I recommend making use of our Atlassian Developer resources, which includes a separate Developer Community where you can reach out for help.
Take care, and have a pleasant weekend.
Shannon
Hello @Shannon S
Thank you for your reply, yes i checked that REST Api document, but i just want to confirm we can share content to other user using email?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @abhipanchal,
In order to share content from Confluence, either the page has to be public or the person you're sharing with is a licensed Confluence user. Using API, you'd need to perform the GET call using a licensed Confluence user's token, using the process I shared above.
There is also an add-on I know of that would allow you to share Confluence content by email to an unlicensed user, but it's for Server only:
I hope that helps, but let me know if you have any concerns.
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Shannon S
Thank you, i have converted to Standard account, but i can share content with users which is added in my space, there is any option to give permission to users which is not added in my space?
Sharing with email address is not possible?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @abhipanchal,
Good morning. Hope you are doing well!
You can only give permission to users who are licensed to use Confluence. If an email address does not have an account on your Confluence site, then you won't be able to share a page with them.
I hope that's clear, but let me know if you have any questions about that.
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank You, that's clear.
I want to share my page with the users, who are not in my confluence site as a user.
So, first i need to invite them and then i can share page with them.
So we have any api for invite users in our confluence site?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @abhipanchal,
So sorry for the delay. I was looking for some confirmation on this.
There's not currently a way within Confluence REST-API to invite users, but you can use the Jira REST-API as a workaround.
Have a look below for more details:
Adding a user using the Jira REST-API will create your user with the default permission scheme, much like inviting a user within the UI:
However, if Confluence access isn't a default for new users, you'll need to manage the groups, also via Jira:
I hope that helps, but let me know if you have any trouble!
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.