Skip to content
Start here

List applications

client.zeroTrust.casb.applications.list(ApplicationListParams { account_id, environment, page, page_size } params, RequestOptionsoptions?): SinglePage<ApplicationListResponse { id, auth_methods, category, 7 more } >
GET/accounts/{account_id}/one/applications

Returns a list of available applications with use cases and permissions.

Security
API Token

The preferred authorization scheme for interacting with the Cloudflare API. Create a token.

Example:Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
API Email + API Key

The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

Example:X-Auth-Email: user@example.com

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

Example:X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
ParametersExpand Collapse
params: ApplicationListParams { account_id, environment, page, page_size }
account_id: string

Path param: Cloudflare account identifier.

environment?: string

Query param: Filter by supported environment (standard, fedramp).

page?: number

Query param: A page number within the paginated result set.

page_size?: number

Query param: Number of results to return per page.

ReturnsExpand Collapse
ApplicationListResponse { id, auth_methods, category, 7 more }

Application item in list response.

id: "ANTHROPIC" | "AWS" | "BITBUCKET" | 12 more

Vendor identifier (e.g. microsoft_internal, google_workspace).

  • ANTHROPIC - ANTHROPIC
  • AWS - AWS
  • BITBUCKET - BITBUCKET
  • BOX - BOX
  • CONFLUENCE - CONFLUENCE
  • DROPBOX - DROPBOX
  • GITHUB - GITHUB
  • GOOGLE_CLOUD_PLATFORM - GOOGLE_CLOUD_PLATFORM
  • GOOGLE_WORKSPACE - GOOGLE_WORKSPACE
  • JIRA - JIRA
  • MICROSOFT_INTERNAL - MICROSOFT_INTERNAL
  • OPENAI - OPENAI
  • SALESFORCE - SALESFORCE
  • SERVICENOW - SERVICENOW
  • SLACK - SLACK
One of the following:
"ANTHROPIC"
"AWS"
"BITBUCKET"
"BOX"
"CONFLUENCE"
"DROPBOX"
"GITHUB"
"GOOGLE_CLOUD_PLATFORM"
"GOOGLE_WORKSPACE"
"JIRA"
"MICROSOFT_INTERNAL"
"OPENAI"
"SALESFORCE"
"SERVICENOW"
"SLACK"
auth_methods: Array<AuthMethod>

Available auth methods.

id: string

Auth method identifier.

display_name: string

Human-readable auth method name.

category: string

Vendor category (e.g. Productivity, AI).

description: string

Brief description of the integration.

display_name: string

Human-readable vendor name.

dlp_enabled: boolean

Whether DLP scanning is supported.

permissions: Array<Permission>

All permissions with severity.

display_name: string

Human-readable permission name.

scope: string

Vendor-native scope identifier.

severity: "low" | "medium" | "high" | "critical"

Permission sensitivity level.

  • low - low
  • medium - medium
  • high - high
  • critical - critical
One of the following:
"low"
"medium"
"high"
"critical"
supported_environments: Array<string>

Environments this vendor supports (standard, fedramp).

use_cases: Array<UseCase>

Supported use cases.

id: string

Use case identifier (e.g. casb, ces).

display_name: string

Human-readable use case name.

List applications

import Cloudflare from 'cloudflare';

const client = new Cloudflare({
  apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});

// Automatically fetches more pages as needed.
for await (const applicationListResponse of client.zeroTrust.casb.applications.list({
  account_id: '023e105f4ecef8ad9ca31a8372d0c353',
})) {
  console.log(applicationListResponse.id);
}
{
  "errors": [],
  "messages": [],
  "result": [
    {
      "auth_methods": [
        {
          "display_name": "OAuth 2.0 Admin Consent",
          "id": "oauth2_standard"
        }
      ],
      "category": "Productivity",
      "description": "Monitor OneDrive, SharePoint, Teams, and Outlook.",
      "display_name": "Microsoft",
      "dlp_enabled": true,
      "id": "MICROSOFT_INTERNAL",
      "logo": "/api/v4/accounts/12345678/casb/static/microsoft_internal.svg",
      "permissions": [
        {
          "display_name": "Read all users' full profiles",
          "scope": "User.Read.All",
          "severity": "high"
        },
        {
          "display_name": "Read all files",
          "scope": "Files.Read.All",
          "severity": "high"
        },
        {
          "display_name": "Read and write mail",
          "scope": "Mail.ReadWrite",
          "severity": "critical"
        }
      ],
      "supported_environments": [
        "standard",
        "fedramp"
      ],
      "use_cases": [
        {
          "display_name": "Cloud Access Security Broker",
          "id": "casb"
        },
        {
          "display_name": "Cloud Email Security",
          "id": "ces"
        }
      ]
    }
  ],
  "result_info": {
    "count": 1,
    "next": null,
    "page": 1,
    "per_page": 10,
    "previous": null,
    "total_count": 1
  },
  "success": true
}
Returns Examples
{
  "errors": [],
  "messages": [],
  "result": [
    {
      "auth_methods": [
        {
          "display_name": "OAuth 2.0 Admin Consent",
          "id": "oauth2_standard"
        }
      ],
      "category": "Productivity",
      "description": "Monitor OneDrive, SharePoint, Teams, and Outlook.",
      "display_name": "Microsoft",
      "dlp_enabled": true,
      "id": "MICROSOFT_INTERNAL",
      "logo": "/api/v4/accounts/12345678/casb/static/microsoft_internal.svg",
      "permissions": [
        {
          "display_name": "Read all users' full profiles",
          "scope": "User.Read.All",
          "severity": "high"
        },
        {
          "display_name": "Read all files",
          "scope": "Files.Read.All",
          "severity": "high"
        },
        {
          "display_name": "Read and write mail",
          "scope": "Mail.ReadWrite",
          "severity": "critical"
        }
      ],
      "supported_environments": [
        "standard",
        "fedramp"
      ],
      "use_cases": [
        {
          "display_name": "Cloud Access Security Broker",
          "id": "casb"
        },
        {
          "display_name": "Cloud Email Security",
          "id": "ces"
        }
      ]
    }
  ],
  "result_info": {
    "count": 1,
    "next": null,
    "page": 1,
    "per_page": 10,
    "previous": null,
    "total_count": 1
  },
  "success": true
}