# API for public apps

**URL:** <https://devforum.okta.com/t/api-for-public-apps/6151>\
**Category:** Questions\
**Created:** [September 2, 2019, 5:35am UTC](https://devforum.okta.com/t/api-for-public-apps/6151 "2019-09-02T05:35:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jchandrasekar](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@jchandrasekar](https://devforum.okta.com/u/jchandrasekar)\
**Post date:** [September 2, 2019, 5:35am UTC](https://devforum.okta.com/t/api-for-public-apps/6151/1 "2019-09-02T05:35:12Z")

</div>

Hi, hopefully a simple question. I am able to add a custom app using the guidance provided here - [https://developer.okta.com/docs/reference/api/apps/#getting-started](https://developer.okta.com/docs/reference/api/apps/#getting-started). However, how do i go about using an API to automate modifying some attributes for a built in app like Office 365? Any guidance is appreciated. Thanks,

---

<div class="post-metadata">

**Author:** ![Govner](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/govner/32/1099_2.png) [@Govner](https://devforum.okta.com/u/Govner)\
**Post date:** [September 3, 2019, 12:38pm UTC](https://devforum.okta.com/t/api-for-public-apps/6151/2 "2019-09-03T12:38:20Z")

</div>

[https://developer.okta.com/docs/reference/api/schemas/](https://developer.okta.com/docs/reference/api/schemas/)

---

<div class="post-metadata">

**Author:** ![jchandrasekar](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@jchandrasekar](https://devforum.okta.com/u/jchandrasekar)\
**Post date:** [September 3, 2019, 10:49pm UTC](https://devforum.okta.com/t/api-for-public-apps/6151/3 "2019-09-03T22:49:54Z")

</div>

not sure that answers my question. I downloaded the Postman bundle from that link and reviewed it but it doesn’t show how one can modify it. From what I can tell unless I am told different, it sounds like you have to create the app in the GUI and and use the instance ID to make changes. I was hoping there was a way to instantiate that app through REST.

---

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [September 4, 2019, 2:55am UTC](https://devforum.okta.com/t/api-for-public-apps/6151/4 "2019-09-04T02:55:40Z")

</div>

Hi @jchandrasekar

By modifying an attribute, do you mean a user assignment value or an attribute itself in the application’s schema?

---

<div class="post-metadata">

**Author:** ![jchandrasekar](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@jchandrasekar](https://devforum.okta.com/u/jchandrasekar)\
**Post date:** [September 4, 2019, 3:37am UTC](https://devforum.okta.com/t/api-for-public-apps/6151/5 "2019-09-04T03:37:34Z")

</div>

The latter but here’s a more definitive example, Today using the OKTA GUI, we have the option to create a custom application or browse through one of the many apps that are provided/published through OKTA. For example, Office 365. One could always create the app through the OKTA GUI and modify attributes through REST API but my question was more to the effect of - Can I create the app (in this case O365 in my example) through REST API directly. We can certainly create custom SAML 2.0 apps but in some cases, using the publisher’s app is a necessity. Thanks

---

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [September 4, 2019, 4:17am UTC](https://devforum.okta.com/t/api-for-public-apps/6151/6 "2019-09-04T04:17:29Z")

</div>

Hi @jchandrasekar

Thank you for explaining the use-case. Unfortunately, we do not have a public documented API to add OIN applications inside Okta tenants.

If you want to check this APIs and try on our end, you can review the http requests and responses that the admin panel does and, based on them, recreate the requests on your end using Postman, curl or any other tool.

---

<div class="post-metadata">

**Author:** ![jchandrasekar](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@jchandrasekar](https://devforum.okta.com/u/jchandrasekar)\
**Post date:** [September 4, 2019, 3:18pm UTC](https://devforum.okta.com/t/api-for-public-apps/6151/7 "2019-09-04T15:18:04Z")

</div>

Thanks @dragos. Is there a way to see the API’s when creating the application as you suggested?

---

<div class="post-metadata">

**Author:** ![jchandrasekar](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@jchandrasekar](https://devforum.okta.com/u/jchandrasekar)\
**Post date:** [September 4, 2019, 3:52pm UTC](https://devforum.okta.com/t/api-for-public-apps/6151/8 "2019-09-04T15:52:33Z")

</div>

It looks like every time a new app is created, it instantiates a different instance id so hard coding it based on creating a prior instance won’t help unless some type of variable is offered that can automatically generate the instance id.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 18, 2024, 12:04am UTC](https://devforum.okta.com/t/api-for-public-apps/6151/9 "2024-01-18T00:04:11Z")

</div>


