---
title: "send message · RUAL Documentation"
description: "Send the given payload as JSON to the current websocket"
canonical: https://docs.rual.nl/block-types/websocket/function_write_to_websocket
language: en
---

# send message

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

Send the given payload as JSON to the current websocket

- flow `flow`

- payload required `object`

- flow `flow`

- success `condition`

- error `value`

| `write to spark` |
| --- |

### Core Releases
