# Provisioning through the API

**URL:** <https://devforum.okta.com/t/provisioning-through-the-api/12037>\
**Category:** Questions\
**Created:** [December 7, 2020, 4:45pm UTC](https://devforum.okta.com/t/provisioning-through-the-api/12037 "2020-12-07T16:45:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jost](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jost](https://devforum.okta.com/u/jost)\
**Post date:** [December 7, 2020, 4:45pm UTC](https://devforum.okta.com/t/provisioning-through-the-api/12037/1 "2020-12-07T16:45:23Z")

</div>

I’m trying to provision a user to our app, for example Zoom, using the API.

I can use the {{url}}/api/v1/apps/{{appId}}/users POST endpoint to create a new user, but I don’t know where I could get a list of options to fill out the profile JSON object, for example the userType list:

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/2/2f077c966dc3e884d701adc48d3dee20103207ed.png)

Is there a way to get this info using the API or any other way, because I’d like to offer my user to be able to select a license type from a dropdown. I don’t see any other API endpoints that would give me this info, but I really hope it’s possible. Same for other tools like Microsoft Office 365 where you can assign different licences.

---

<div class="post-metadata">

**Author:** ![jost](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jost](https://devforum.okta.com/u/jost)\
**Post date:** [December 8, 2020, 10:24am UTC](https://devforum.okta.com/t/provisioning-through-the-api/12037/2 "2020-12-08T10:24:26Z")

</div>

Basically what would help me a lot is if there is a way to query Application User Profile objects, specified here: [https://developer.okta.com/docs/reference/api/apps/#application-user-profile-object](https://developer.okta.com/docs/reference/api/apps/#application-user-profile-object)

The only option that I see now is to send a get request to fetch application users and then get a profile from there, but this is not really optimal.

---

<div class="post-metadata">

**Author:** ![warren](https://avatars.discourse-cdn.com/v4/letter/w/97f17d/32.png) [@warren](https://devforum.okta.com/u/warren)\
**Post date:** [December 9, 2020, 1:15am UTC](https://devforum.okta.com/t/provisioning-through-the-api/12037/3 "2020-12-09T01:15:49Z")

</div>

I don’t believe there is an API endpoint to fetch the values in the dropdown for applications. This would be a feature request for Okta.

You could also use the App Schema endpoint to get a list of application attributes for the application profile.

> **[Schemas | Okta Developer](https://developer.okta.com/docs/reference/api/schemas/#get-app-user-schema)**

---

<div class="post-metadata">

**Author:** ![jost](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jost](https://devforum.okta.com/u/jost)\
**Post date:** [December 9, 2020, 9:07am UTC](https://devforum.okta.com/t/provisioning-through-the-api/12037/4 "2020-12-09T09:07:02Z")

</div>

Thank you, this actually covers it, returns exactly what I need, I just missed it because the Postman library doesn’t have it included 🙂

This gives me the dropdown options, but for apps like Office 365 that need to go fetch the license types ad hoc, this obviously doesn’t work, but that’s fine.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [December 10, 2020, 9:07am UTC](https://devforum.okta.com/t/provisioning-through-the-api/12037/5 "2020-12-10T09:07:15Z")

</div>

Closed on December 10, 2020, 9:07am UTC

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