---
title: "subscribe websocket on backend · RUAL Documentation"
description: "Subscribes the websocket to a specific channel. All broadcasts will be handled in the backend."
canonical: https://docs.rual.nl/block-types/websocket/function_broadcast_subscribe
language: en
---

# subscribe websocket on backend

This block is part of the [`websocket`](https://docs.rual.nl/block-types/websocket) group and was last modified in core [`v13.0.5`](https://docs.rual.nl/core-versions/130005).

Subscribes the websocket to a specific channel. All broadcasts will be handled in the backend.

- flow `flow`

- channels required `array`

- channel required `value`

- events `array`

- skip jwt `skipjwt` required `condition`

- flow `flow`

- on broadcast `on_broadcast` `execute_function`

- success `condition`

- error `value`

- channels `array`

### Core Releases
