Is there any BlueJeans API to create, update and delete user ?

  • 1
  • Question
  • Updated 3 months ago
  • (Edited)
My requirement :

1. I should be able to authenticate BlueJeans with my app. Are there any OAuth Based authentication supported?

2. I should be able to provision users(CRUD operations) to BlueJeans. ie Users present on my app should automatically get created on BlueJeans and should be able to perform basic CRUD operations on users eg. update user attributes, suspend a user, delete a user etc.

Photo of Anagha Jadhav

Anagha Jadhav

  • 80 Points 75 badge 2x thumb

Posted 3 months ago

  • 1
Photo of Alphi Villanueva

Alphi Villanueva, Employee

  • 110 Points 100 badge 2x thumb
Hello Anagha,

Thank you for your interest in BlueJeans Meeting REST APIs.

Here's the reference for the BlueJeans Meeting REST APIs
https://bluejeans.github.io/api-rest-meetings/site/

Just to answer your questions:

1. You can authenticate with your app using an app key and app secret by generating one in the oAuth Access Tab in the Group Settings in your BlueJeans Admin Panel. The call you will want to use is the /oauth2/token?Client call using the app key in the client_id field and the app secret in the client_secret field.

2. Since there are additional checks and balances when we create users such as checking the enterprise billing plan and verifying email addresses, you cannot perform this automatedly. You will have to ask the user to sign up for an account under your enterprise. This will likely be performed on a custom landing page using the Sign Up Now button. You can elect to Auto-Approve domains such as the one used by your company.

Once the user has an account, you can perform the following actions:

R - Get User Account Details using /v1/user/{user_id}
U - Update User Account Details using /v1/user/{user_id}
D - Delete Enterprise User /v1/enterprise/{enterprise_id}/users/{user_id}
Photo of Anagha Jadhav

Anagha Jadhav

  • 80 Points 75 badge 2x thumb
Hi ,Thanks for your reply !I tried to search for user id but could not get. Also there is no API to list users.So can you please tell me how to get user id ?
Thanks,Anagha Jadhav.
Photo of Alphi Villanueva

Alphi Villanueva, Employee

  • 110 Points 100 badge 2x thumb
I think I emailed you the answers, so for the benefit of everyone else, I'll include my reply here.

---Original Response---

To answer your question, it will depend on the way you authenticate.


If you authenticate using the user account itself, the userID will be inside the JSON Response (Response>scope>user).


If you authenticate using an app key and app secret or using an admin account, you will have to use the Search for User(s) call, /v1/enterprise/{enterpriseId}/users, using the search criteria of the user in question (in this example, email address). The response will be an array of users that match the criteria including their User ID.