Skip to content
Start here

List integrations

client.zeroTrust.casb.integrations.list(IntegrationListParams { account_id, application, direction, 7 more } params, RequestOptionsoptions?): SinglePage<IntegrationListResponse { id, application, created, 4 more } >
GET/accounts/{account_id}/one/integrations

Returns a paginated list of integrations for the account.

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: IntegrationListParams { account_id, application, direction, 7 more }
account_id: string

Path param: Cloudflare account identifier.

application?: string

Query param: Filter by application/vendor (e.g., GOOGLE_WORKSPACE, MICROSOFT_INTERNAL).

direction?: "asc" | "desc"

Query param: Direction to order results.

One of the following:
"asc"
"desc"
dlp_enabled?: boolean

Query param: Filter by DLP enabled status (true/false).

order?: "application" | "created" | "name" | "status"

Query param: Field to order results by.

One of the following:
"application"
"created"
"name"
"status"
page?: number

Query param: Page number within the paginated result set.

page_size?: number

Query param: Number of results per page.

status?: "Healthy" | "Initializing" | "Offline" | "Unhealthy"

Query param: Filter by integration status.

One of the following:
"Healthy"
"Initializing"
"Offline"
"Unhealthy"
use_cases?: string

Query param: Filter by enabled use cases (e.g., casb, ces). Matches integrations enrolled in any of the specified values. Can be specified multiple times.

ReturnsExpand Collapse
IntegrationListResponse { id, application, created, 4 more }

Serializer for v2 integration list responses.

id: string

Integration ID.

formatuuid
application: Record<string, string | null>
created: string

When the integration was created.

formatdate-time
is_paused: boolean

Whether the user paused the integration.

name: string

Name of the integration.

status: string

Integration status.

updated: string

When the integration was last updated.

formatdate-time

List integrations

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 integrationListResponse of client.zeroTrust.casb.integrations.list({
  account_id: '023e105f4ecef8ad9ca31a8372d0c353',
})) {
  console.log(integrationListResponse.id);
}
{
  "errors": [],
  "messages": [],
  "result": [
    {
      "application": {
        "category": "Productivity",
        "display_name": "Google Workspace",
        "logo": "https://onprem.cloudflare.com/static/google_workspace.png"
      },
      "created": "2025-01-15T10:00:00Z",
      "id": "019d2e6a-d995-7185-afbd-4feead9e42ec",
      "is_paused": false,
      "name": "My Google Workspace",
      "status": "Healthy",
      "updated": "2025-04-10T08:30:00Z"
    }
  ],
  "result_info": {
    "count": 1,
    "next": null,
    "page": 1,
    "per_page": 10,
    "previous": null,
    "total_count": 1
  },
  "success": true
}
Returns Examples
{
  "errors": [],
  "messages": [],
  "result": [
    {
      "application": {
        "category": "Productivity",
        "display_name": "Google Workspace",
        "logo": "https://onprem.cloudflare.com/static/google_workspace.png"
      },
      "created": "2025-01-15T10:00:00Z",
      "id": "019d2e6a-d995-7185-afbd-4feead9e42ec",
      "is_paused": false,
      "name": "My Google Workspace",
      "status": "Healthy",
      "updated": "2025-04-10T08:30:00Z"
    }
  ],
  "result_info": {
    "count": 1,
    "next": null,
    "page": 1,
    "per_page": 10,
    "previous": null,
    "total_count": 1
  },
  "success": true
}