> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/nui/send-nui-message.md).

# Send Nui Message

Posts a JSON message to the named window. Returns nothing.

## **Syntax**

```lua
refresh.Nui.SendNuiMessage(name, json)
```

## **Return**

{% hint style="success" %}
None
{% endhint %}

## Usage Example

```lua
refresh.Nui.SendNuiMessage("menu", '{"action":"show"}')
```
