Get All Applications with API

Hello,

We need to use the CC API: {{baseUrl}}/cc/api/app/list to fetch all Applications in our tenant but it seems that it isn’t listing all Applications, only a few.

When I try the {{baseUrl}}/cc/api/app/get/id API with one of the missing Application ID’s, it finds the missing application.

Why are we not getting the entire list of Applications in the /list API, and is there any way to fetch Applications in some other way? It’s really bad that we don’t have V3 or Beta API’s for applications as it is such a central and crucial part of the product…

All help appreciated,
Seb

1 Like

Hi @Swegmann

Same here, I don’t see all the applications using CC API, there is no Beta or V3 API.

@colin_mckibben could you please help here.

Thanks
Krish

1 Like

Hi @Swegmann,

To list all the applications, you need to use {{baseUrl}}/cc/api/app/list?filter=org .

Without adding filter as org, you might not be able to see all the application.

1 Like

Hey Animesh, we actually found this exact API call recently when checking in the browser network logs, however, this list returns not only our controlled Apps, but the standard Apps that come with the product.

Do you know if it’s possible to add some kind of Query Param to only show "controlType": "CONTROLLED" to exclude the standard Apps and only show controlled Apps.

Thanks,
Sebastian

I don’t think there’s any query parameter which would bring only the controlled apps. You could use a script to filter out the controlled ones and use it.

See here:

1 Like

Animesh is correct. The UI uses some Javascript to filter out CONTROLLED apps. It does not make a separate API call to get controlled apps. You can see the control type in the response object. It’s under the controlType attribute.

{
        "id": "13419",
        "appId": "69",
        "serviceId": "14063",
        "serviceAppId": "13419",
        "name": "Orbitz For Business",
        "description": "Corporate travel",
        "appCenterEnabled": true,
        "provisionRequestEnabled": false,
        "controlType": "PERSONAL",
        "mobile": true,
        "privateApp": false,
        "scriptName": "C:1-orbitz-for-business",
        "status": "ACTIVE",
        "icon": "sprite:genapp-default",
        "health": {
            "status": "HEALTHY",
            "lastChanged": "1697637507494",
            "since": 0,
            "healthy": true
        },
        "enableSso": true,
        "ssoMethod": "PASSWORD"
    },
    {
        "id": "13420",
        "appId": "70",
        "serviceId": "14064",
        "serviceAppId": "13420",
        "name": "Outlook Web App",
        "description": "Hosted email in the cloud",
        "appCenterEnabled": true,
        "provisionRequestEnabled": true,
        "controlType": "CONTROLLED",
        "mobile": true,
        "privateApp": false,
        "scriptName": "C:1-outlook-web-app",
        "status": "ACTIVE",
        "icon": "https://files.accessiq.sailpoint.com/modules/builds/static-assets/perpetual/identitynow/icons/2.0/outlook2/",
        "health": {
            "status": "HEALTHY",
            "lastChanged": "1697637507495",
            "since": 0,
            "healthy": true
        },
        "enableSso": true,
        "ssoMethod": "PASSWORD"
    },

Ok, thanks for info!

I made a JSONExpression to filter on “CONTROLLED” Applications.

$.[*].[?(@.controlType=="CONTROLLED")]

This excludes all other Apps (“PERSONAL”) and fetches only our created, controlled apps.

Thanks for all the help!

Seb

2 Likes

@colin_mckibben do you know if there is a plan to deploy v3 API ? As of now we have some scripts using cc to create app from excel sheets but some part may be missing in the reverse we’ve done of the UI. For exemple regarding the logo of the app.

Yes, we are working on a v3 replacement for app APIs. Once they are ready we will announce the deprecation of the /cc endpoints.

1 Like

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