---
title: "Authenticate a user for a private channel"
method: POST
path: "/customer/channels/auth"
tags: ["Broadcasting"]
---

# Authenticate a user for a private channel

`POST /customer/channels/auth`

This endpoint is used by the mobile app to authenticate with Pusher channels.
It validates that the user has permission to access the requested channel.

## Request body

- object
  - `channel_name` string, required — string
  - `socket_id` string, required — string

## Response `200`

- string

## Other responses

- `401` — Unauthenticated
- `403`
- `422` — Validation error

---

[API](https://skmtc.net/nexuforma/apis/51eat-api-documentation.md) · [All operations](https://skmtc.net/nexuforma/apis/51eat-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nexuforma/51eat-api-documentation/revisions/ee945e6d6db7/schema)
