How to invite user to Bitbucket via REST APIs using email?

sadramehriyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 4, 2024

I want to integrate Bitbucket with my application and invite someone to Bitbucket using the REST APIs.
We had the invitation part in REST APIs version 1.0, but now, in version 2.0, we do not have a REST API to invite.
What should I do now?
Is there any solution for inviting someone to Bitbucket via REST APIs using email?

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 5, 2024

Hi and welcome to the community!

Since you are referring to version 1.0 and version 2.0 of the API, I assume that you are using Bitbucket Cloud?

You can still use version 1.0 of our API for Bitbucket Cloud workspaces with user management in https://bitbucket.org/:

This is not possible for Bitbucket Cloud workspaces that are linked to https://admin.atlassian.com/ for user management, and I'm afraid that the Atlassian Cloud Admin API does not offer an API endpoint to create / invite an Org user.

We have the following feature request for the ability to create an Org user via API:

If you use either Jira Cloud or User Provisioning, there are API endpoints available to create a user. These workarounds and API endpoints are mentioned the feature request I shared.

I suggest adding your vote to that feature request (by selecting the Vote for this issue link) as the number of votes helps the product managers better understand the demand for features. You are more than welcome to leave feedback, and you can also add yourself as a watcher (by selecting the Start watching this issue link) if you'd like to be notified via email on updates.

Implementation of features is done as per our policy here and any updates will be posted in the feature request.

Please feel free to let me know if you have any questions.

Kind regards,
Theodora

sadramehriyan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2024

Would you give me the link to vote for this feature?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events