---
title: "Authenticate CLI Pusher channel access"
method: POST
path: "/api/v3.1/cli/realtime/auth"
tags: ["Triggers", "Realtime", "CLI", "x-internal"]
---

# Authenticate CLI Pusher channel access

`POST /api/v3.1/cli/realtime/auth`

Authenticate CLI client access to a private-cli-{nanoId} Pusher channel

## Request body

- object
  - `channel_name` string, required — The channel name to authenticate for
  - `socket_id` string, required — The socket ID for Pusher authentication

## Response `200`

Pusher authentication successful

- object
  - `auth` string, required — The authentication string for Pusher
  - `channel_data` string — Channel data for presence channels

## Other responses

- `400` — Invalid channel name
- `401` — Unauthorized. Authentication is required or the provided credentials are invalid.
- `500` — Internal server error occurred during authentication.

---

[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)
