The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Searching for a way to add guest users to a space via REST API

Véronique
Contributor
March 27, 2023

Hi,

For one of our customers, a school, we will have to invite users in bulk via REST API. It concerns students, at the beginning of the school year (so many many users at a time). This customer is not able to claim the domain, that's why this will be happening via REST API, the Create User endpoint.

Only school personel will have paid Confluence accounts. The students will have guest accounts. 

From what I read, guest users have to be added to spaces in an individual basis. Is this concerns hundreds of users, we are trying to find a way to do this in bulk, for example by adding to the Create User script something like "guest user", Space permissions "xxx".

Any ideas?

Thank you in advance for your help!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Alex Koxaras -Relational-
Community Champion
March 28, 2023

Hi @Véronique 

Unfortunately there isn't an endpoint to invite users in confluence. You can vote and watch this issue https://jira.atlassian.com/browse/CONFCLOUD-54893 to be further notified.

Ture Hoefner {Appfire}
Contributor
August 5, 2024

That issue does not mention guest users but it does mention an experimental API for inviting users: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-user/#api-user-access-invite-by-email-post 

That experimental API is for inviting regular users and has no functionality related to guest users.

I'll add a comment to that issue because it is probably the closest thing that exists for tracking this requested feature (the ability to invite guest users via REST API).

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events