POST /api/v1/apps

Creates an app instance in your Okta org.

You can either create an OIN app instance or a custom app instance:

Servers

Request headers

Name Type Required Description
OktaAccessGateway-Agent String No
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Query parameters

Name Type Required Description
activate Boolean No

Executes activation lifecycle operation when creating the app

Default value: true

Request body fields

Name Type Required Description
orn String No

The Okta resource name (ORN) for the current app instance

_embedded Object No

Embedded resources related to the app using the JSON Hypertext Application Language specification. If the expand=user/{userId} query parameter is specified, then the assigned Application User is embedded.

_embedded.user Object No

The specified Application User assigned to the app

signOnMode String Yes

Authentication mode for the app

signOnModeDescription
AUTO_LOGINSecure Web Authentication (SWA)
BASIC_AUTHHTTP Basic Authentication with Okta Browser Plugin
BOOKMARKJust a bookmark (no-authentication)
BROWSER_PLUGINSecure Web Authentication (SWA) with Okta Browser Plugin
OPENID_CONNECTFederated Authentication with OpenID Connect (OIDC)
SAML_1_1Federated Authentication with SAML 1.1 WebSSO (not supported for custom apps)
SAML_2_0Federated Authentication with SAML 2.0 WebSSO
SECURE_PASSWORD_STORESecure Web Authentication (SWA) with POST (plugin not required)
WS_FEDERATIONFederated Authentication with WS-Federation Passive Requestor Profile

Select the signOnMode for your custom app:

Possible values:

  • "SAML_1_1"
  • "BASIC_AUTH"
  • "OPENID_CONNECT"
  • "WS_FEDERATION"
  • "SECURE_PASSWORD_STORE"
  • "BOOKMARK"
  • "BROWSER_PLUGIN"
  • "AUTO_LOGIN"
  • "SAML_2_0"
accessibility Object No

Specifies access settings for the app

accessibility.selfService Boolean No

Represents whether the app can be self-assignable by users

accessibility.loginRedirectUrl String No

Custom login page URL for the app

Note: The loginRedirectUrl property is deprecated in Identity Engine. This property is used with the custom app login feature. Orgs that actively use this feature can continue to do so. See Okta-hosted sign-in (redirect authentication) or configure IdP routing rules to redirect users to the appropriate sign-in app for orgs that don't use the custom app login feature.

accessibility.errorRedirectUrl String No

Custom error page URL for the app

status String No

App instance status

Possible values:

  • "DELETED"
  • "ACTIVE"
  • "INACTIVE"
lastUpdated String No

Timestamp when the Application object was last updated

id String No

Unique ID for the app instance

profile Object No

Contains any valid JSON schema for specifying properties that can be referenced from a request (only available to OAuth 2.0 client apps). For example, add an app manager contact email address or define an allowlist of groups that you can then reference using the Okta Expression Language getFilteredGroups function.

Notes:

  • profile isn't encrypted, so don't store sensitive data in it.
  • profile doesn't limit the level of nesting in the JSON schema you created, but there is a practical size limit. Okta recommends a JSON schema size of 1 MB or less for best performance.
_links No

Discoverable resources related to the app

visibility Object No

Specifies visibility settings for the app

visibility.autoSubmitToolbar Boolean No

Automatically sign in when user lands on the sign-in page

visibility.autoLaunch Boolean No

Automatically signs in to the app when user signs into Okta

visibility.appLinks Object No

Links or icons that appear on the End-User Dashboard if they're set to true.

visibility.hide Object No

Hides the app for specific end-user apps

visibility.hide.iOS Boolean No

Okta Mobile for iOS or Android (pre-dates Android)

Default value: false

visibility.hide.web Boolean No

Okta End-User Dashboard on a web browser

Default value: false

created String No

Timestamp when the Application object was created

licensing Object No

Licenses for the app

licensing.seatCount Integer No

Number of licenses purchased for the app

label String Yes

User-defined display name for app

features[] Array No

Enabled app features

Note: Some apps can support optional provisioning features. See Application Features

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.