Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Share Page API

abhipanchal April 29, 2020

Hello,

 

There is any api to share content page?

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2020

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

abhipanchal May 1, 2020

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?

Like Shannon S likes this
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 4, 2020

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

abhipanchal May 5, 2020

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?

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 6, 2020

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

abhipanchal May 6, 2020

@Shannon S 

 

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?

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 11, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events