<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00007ZkIYUSA3Okta Classic EngineAdministrationAnswered2024-04-15T09:30:27.000Z2020-01-21T11:23:35.000Z2020-02-03T23:30:10.000Z

LukeT.02556 (Customer) asked a question.

Is some special activation by OKTA required to use the OKTA Apps API to add a new application?

I am trying to use the OKTA apps api (https://developer.okta.com/docs/reference/api/apps/) to manage our organization configuration - all of it is working well so far except the Apps API.

 

When I post a new app using the postman collection example for "Add Application" - OKTA returns an empty array and does not add a new application.

 

It works fine in the OKTA admin console and I can list apps I've created in the admin console using the "List Apps" request in the postman collection on the apps api.

 

I'm thinking that OKTA has to enable some additional features in order for the Apps API to work as defined in the documentation? Does anyone know how exactly I should request the feature to be enabled?

 

Thanks,

Luke


  • bc221 (bc221)

    No additional feature is required to use okta create apps api. If you have access to create apps using GUI then you should be okay using same user API token.

     

    There could be some formatting issue in your https post body when you invoke Add Application API. I suggest you first try creating simple bookmark app via API. Or you can first hit Get-Application API #/api/v1/apps/${applicationId} which is similar to what you are creating and then match the format and give it a try.

    Expand Post
    Selected as Best
  • bc221 (bc221)

    No additional feature is required to use okta create apps api. If you have access to create apps using GUI then you should be okay using same user API token.

     

    There could be some formatting issue in your https post body when you invoke Add Application API. I suggest you first try creating simple bookmark app via API. Or you can first hit Get-Application API #/api/v1/apps/${applicationId} which is similar to what you are creating and then match the format and give it a try.

    Expand Post
    Selected as Best
This question is closed.
Loading
Is some special activation by OKTA required to use the OKTA Apps API to add a new application?