---
title: "pusher-js channel authorizer (beta)"
method: POST
path: "/realtime/auth"
tags: ["Realtime"]
---

# pusher-js channel authorizer (beta)

`POST /realtime/auth`

## Request

- Base URL: `https://muro.chat/api/v1`
- URL: `https://muro.chat/api/v1/realtime/auth`
- Auth: HTTP bearer

## Request body

- object
  - `socket_id` string
  - `channel_name` string

## Response `200`

Channel auth signature.

## Other responses

- `400`: socket_id and channel_name are required.
- `403`: Channel not owned by your key.
- `503`: Realtime not configured.

---

[API](https://skmtc.dev/muro/apis/muro-rest-api.md) · [All operations](https://skmtc.dev/muro/apis/muro-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/muro/apis/muro-rest-api/revisions/94ccdc79d61a?raw)
