---
title: "subscribe websocket on frontend · RUAL Documentation"
description: "Subscribes the websocket to a specific channel. All broadcasts will be pushed to that spark / the frontend."
canonical: https://docs.rual.nl/block-types/websocket/function_subscribe_spark
language: en
---

# subscribe websocket on frontend

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

Subscribes the websocket to a specific channel. All broadcasts will be pushed to that spark / the frontend.

- flow `flow`

- channels required `array`

- channel required `value`

- events `array`

- skip jwt `skipjwt` required `condition`

- flow `flow`

- success `condition`

- error `value`

- channels `array`

### Core Releases
