Skip to content
Start here

Fetch all apps

client.realtimeKit.apps.get(AppGetParams { account_id } params, RequestOptionsoptions?): AppGetResponse { data, success }
GET/accounts/{account_id}/realtime/kit/apps

Fetch all apps for your account

Security

API Token

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

Example:Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Accepted Permissions (at least one required)
Realtime AdminRealtime
ParametersExpand Collapse
params: AppGetParams { account_id }
account_id: string

The account identifier tag.

maxLength32
ReturnsExpand Collapse
AppGetResponse { data, success }
data?: Array<Data>
id?: string
created_at?: string
name?: string
success?: boolean

Fetch all apps

import Cloudflare from 'cloudflare';

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

const app = await client.realtimeKit.apps.get({ account_id: '023e105f4ecef8ad9ca31a8372d0c353' });

console.log(app.data);
{
  "data": [
    {
      "created_at": "2025-01-01T08:16:40.644Z",
      "id": "my-app-id",
      "name": "my-first-app"
    }
  ],
  "success": true
}
Returns Examples
{
  "data": [
    {
      "created_at": "2025-01-01T08:16:40.644Z",
      "id": "my-app-id",
      "name": "my-first-app"
    }
  ],
  "success": true
}