Enable/assign a zoom phone to a user | API Call

Hello team,

We are trying to assign a extension number to a user using the Zoom API

api-reference/zoom-api/users/usercreate

We are getting error: “The remote server returned an error: (400) .”

We require your help to check if we are missing something or if this is not the correct way to do it.

Below you can find our code, thank you.

string type_url = “https://api.zoom.us/v2/users”;

string body = “{“action”:“ssoCreate”,“user_info”:[{“email":"admin_amsd@flex.com”,“type”:99,“first_name”:“Admin”,“last_name”:“amsd”}]}”;

var result = (Api_with_body(type_url, body, “POST”));

This is for a SSO user

Thank you!

Best Regards

Juan Grijalva

Hi @juan.grijalva ,

Happy to help! To clarify, are you trying to create a new user with an assigned extension number, or update a pre-existing user’s info with an extension number?

Thank you,
Gianni

Hello Gianni

Hope you are doing well

We use SSO in our environment, we are doing the migration to Zoom Phone from another platform

The thing is that when a user have never used before Zoom Meetings we can not create the Zoom Phone extension for the user

We are looking to prepend SSO users so we can create Zoom Phone extensions for them with API

Instead of waiting for the user to log in to flex.zoom.us or login to their zoom meetings application

Thank you

Hi @juan.grijalva ,

So this sounds like pre-existing users. Please correct me if I am misunderstanding.

You should be able to use this endpoint by passing the user’s accountId to assign a phone number and extension https://marketplace.zoom.us/docs/api-reference/zoom-phone-api/phone/setupaccount

Please let me know how this works :slight_smile:

So the Phone part we have it covered, as currently we can assign extensions to existing users

The issue is when the user doesn’t exist

How can we create SSO users with APIs?

@Edgar Corona @Nur Adha Tahir

Please help here as you are they experts on this :blush:

Thank you

Oh I see! This support article lays out a few options for you to create SSO users, including via API: https://support.zoom.us/hc/en-us/articles/115005479743-SSO-Pre-provisioning

Yes, this command as parameter expect that the user is already on zoom (see below image 1) so is not fulfilling the objective. We need this one Create users - Users - Zoom API - API Reference - Zoom Developer - Technical Documentation and Reference with SSOCreate, we have try all parameters but still is not working (image 2)

Hi @juan.grijalva ,

The images did not attach, but please send them along with your full requests and responses to developersupport@zoom.us. Please link this thread and address the message to me.

Talk soon,
Gianni

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.