All Products
Search
Document Center

Identity as a Service:GetApplication

Last Updated:Mar 31, 2026

Retrieves details for a specific EIAM application.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eiam:GetApplication

get

*Application

acs:eiam:{#regionId}:{#accountId}:instance/{#InstanceId}/application/{#ApplicationId}

None None

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the instance.

idaas_ue2jvisn35ea5lmthk267xxxxx

ApplicationId

string

Yes

The ID of the application.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

0441BD79-92F3-53AA-8657-F8CE4A2B912A

Application

object

The application information.

ApiInvokeStatus

string

The status of the Developer API feature. Valid values:

  • enabled: The feature is enabled.

  • disabled: The feature is disabled.

disabled

ApplicationVisibility

array

The visibility of the application.

string

The visibility of the application.

[web]

ApplicationId

string

The application ID.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

ApplicationName

string

The application name.

SAML 应用

ApplicationSourceType

string

The source from which the application was created. Valid values:

  • urn:alibaba:idaas:app:source:template: The application was created from an application template.

  • urn:alibaba:idaas:app:source:standard: The application was created based on a standard protocol.

urn:alibaba:idaas:app:source:template

ApplicationTemplateId

string

The ID of the associated application template. This parameter is returned only if the application was created from a template.

apt_rpa_tdsxxx

AuthorizationType

string

The authorization type for accessing the application. Valid values:

  • authorize_required: Explicit authorization is required.

  • default_all: All members have access by default.

authorize_required

ClientId

string

The client ID of the application.

app_mkv7rgt4d7i4u7zqtzev2mxxxx

CreateTime

integer

The time when the application was created, in UNIX timestamp format, in milliseconds.

1649830226000

Description

string

The description of the application.

某个应用,测试环境使用

Features

string

The features that the application supports, returned as a string in JSON array format. Valid values:

  • sso: single sign-on.

  • provision: account provisioning.

  • api_invoke: API access.

["sso", "provision"]

InstanceId

string

The instance ID.

idaas_ue2jvisn35ea5lmthk267xxxxx

LogoUrl

string

The URL of the application icon.

https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg

ManagedServiceCode

string

The service code of the cloud product that hosts the managed application template.

rpa

ServiceManaged

boolean

Indicates whether the application template is managed by a cloud service.

true

SsoType

string

The single sign-on (SSO) protocol. Valid values:

  • saml2: SAML 2.0.

  • oidc: OpenID Connect.

  • oauth2/m2m: OAuth 2.0.

  • oidc+oauth2/m2m: OpenID Connect and OAuth 2.0.

saml2

Status

string

The application status. Valid values:

  • enabled: The application is enabled.

  • disabled: The application is disabled.

enabled

UpdateTime

integer

The time when the application was last updated, in UNIX timestamp format, in milliseconds.

1649830226000

M2MClientStatus

string

The status of the machine-to-machine (M2M) client.

enabled

ResourceServerStatus

string

The status of the resource server.

enabled

ResourceServerIdentifier

string

The unique identifier of the resource server. This value is used as the audience (aud) claim.

https://www.example.com

CustomSubjectStatus

string

Indicates whether to customize the subject (sub) claim in the access token. If this feature is enabled, the sub claim of the issued access token changes from clientId to clientId:<client.activeSubjectUrn>. The client.activeSubjectUrn value is defined in the attribute mapping for the application's federated credential.

enabled

ApplicationCreationType

string

The method used to create the application. Valid values:

Valid values:

  • user_custom :

    The application was created by a user.

  • system_init :

    The application was created by the system.

user_custom

ResourceServerSourceType

string

The source type of the resource server. Valid values:

Valid values:

  • urn:cloud:idaas:resourceserver:source:custom :

    Custom.

  • urn:cloud:idaas:resourceserver:source:system :

    System.

urn:cloud:idaas:resourceserver:source:custom

ApplicationIdentityType

string

The identity type of the application. Valid values:

  • application: A standard application.

  • agent: An agent.

Valid values:

  • agent :

    agent

  • application :

    application

application

CustomFields

array<object>

The custom fields of the application.

object

FieldName

string

The custom field name.

FieldValue

string

The custom field value.

ApplicationOwner

object

The application owners.

UserIds

array

The user IDs of the application owners.

string

GroupIds

array

The group IDs of the application owners.

string

Examples

Success response

JSON format

{
  "RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
  "Application": {
    "ApiInvokeStatus": "disabled",
    "ApplicationVisibility": [
      "[web]"
    ],
    "ApplicationId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
    "ApplicationName": "SAML 应用",
    "ApplicationSourceType": "urn:alibaba:idaas:app:source:template",
    "ApplicationTemplateId": "apt_rpa_tdsxxx",
    "AuthorizationType": "authorize_required",
    "ClientId": "app_mkv7rgt4d7i4u7zqtzev2mxxxx",
    "CreateTime": 1649830226000,
    "Description": "某个应用,测试环境使用",
    "Features": "[\"sso\", \"provision\"]",
    "InstanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
    "LogoUrl": "https://img.alicdn.com/imgextra/i4/O1CN01lvYwpv1aGowQXDML9_!!6000000003303-0-tps-580-580.jpg",
    "ManagedServiceCode": "rpa",
    "ServiceManaged": true,
    "SsoType": "saml2",
    "Status": "enabled",
    "UpdateTime": 1649830226000,
    "M2MClientStatus": "enabled",
    "ResourceServerStatus": "enabled",
    "ResourceServerIdentifier": "https://www.example.com",
    "CustomSubjectStatus": "enabled",
    "ApplicationCreationType": "user_custom",
    "ResourceServerSourceType": "urn:cloud:idaas:resourceserver:source:custom",
    "ApplicationIdentityType": "application",
    "CustomFields": [
      {
        "FieldName": "",
        "FieldValue": ""
      }
    ],
    "ApplicationOwner": {
      "UserIds": [
        ""
      ],
      "GroupIds": [
        ""
      ]
    }
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.