---
title: "Broadcast content inside request body to all the connected client connections."
method: POST
path: "/api/hubs/{hub}/:send"
tags: ["webpubsub"]
---

# Broadcast content inside request body to all the connected client connections.

`POST /api/hubs/{hub}/:send`

## Path parameters

- `hub` string, required

## Query parameters

- `excluded` string[]
- `api-version` string, required
- `filter` string
- `messageTtlSeconds` integer

## Request body

- string, binary

## Response `202`

The message is accepted. The service follows fire-and-forget pattern when sending messages.

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/azure/apis/azure-web-pubsub-service-rest-api.md) · [All operations](https://skmtc.net/azure/apis/azure-web-pubsub-service-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/azure-web-pubsub-service-rest-api/versions/a1fc29b91d68/schema)
