---
title: "Get credentials for CLI realtime events"
method: GET
path: "/api/v3.1/cli/realtime/credentials"
tags: ["Triggers", "Realtime", "CLI", "x-internal"]
---

# Get credentials for CLI realtime events

`GET /api/v3.1/cli/realtime/credentials`

Get the Pusher key and project nanoId for the CLI realtime trigger channel. The CLI subscribes to private-cli-{project_id}.

## Response `200`

Credentials for CLI realtime events retrieved successfully

- object
  - `pusher_key` string, required — The Pusher client key for subscribing to the trigger
  - `pusher_cluster` string, required — The Pusher cluster for subscribing to the trigger
  - `project_id` string, required — The project nanoId associated with the API Key provided. Used as part of the CLI channel name: private-cli-{project_id}

## Other responses

- `401` — Unauthorized. Authentication is required or the provided credentials are invalid.

---

[API](https://skmtc.net/composiohq/apis/composio-platform-api-v3-1.md) · [All operations](https://skmtc.net/composiohq/apis/composio-platform-api-v3-1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/composiohq/composio-platform-api-v3-1/versions/4239836857f8/schema)
