Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,908
Community Members
 
Community Events
168
Community Groups

How can I invite users in bulk using api?

I want to add 50 users to my organization an I don't want to click on invite users 50 times?

Is there any api feature to send invite on their email id automatically?

2 answers

1 vote

Hello Ayushi,

Thank you for reaching out to Atlassian Community!

In order to create users with API, there is an experimental endpoint that allows that:

For them to receive an invite to finish the account creation, please use "notification": "true".

Please, give it a try and let us know how it goes.

Regards,
Angélica

Thanks for the answer!

I want to add multiple users at the same time using the some api. 

Above api can only invite 1 user at a time.

user.PNG

Using above parameters, it is not working as the api allows to take information only one user.

I want to send invite to 10 people at the same time using API.

Is there any api available to do this?

It would be necessary to call this API 50 times using FOR and changing the values (email address and full name) for each user, so it would be almost the same thing adding one customer at a time in the UI.

On the UI, it's possible to invite 10 users at a time, so maybe as it's only 50 users, you could use the UI and follow the steps to add users only 5 times.

Like ayushi likes this

Does this "create user" API work for confluence, or is it just JIRA?

0 votes

Hello @Daniel Muscat,

Thanks for reaching out to Community!

Currently, there isn't an API to invite or manage users in Confluence.

There is a feature request suggesting the implementation of this ability:

If you also have Jira, you can use the API I mentioned to invite users and then, you can add them to the Confluence group only.

In case you have Confluence only, then it won't be possible to use the API.

Kind regards,
Angélica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Atlassian Access

Atlassian Access Demo Q&A Recap

Hi Community! Thank you to all who joined our ongoing monthly Atlassian Access demo! We have an engaging group of attendees who asked many great questions. I’ll share a recap of frequently ask...

1,500 views 5 5
Read article

Atlassian Community Events