---
title: "Changes to Send content inside request body to the specific connection."
method: POST
path: "/api/hubs/{hub}/connections/{connectionId}/:send"
---

# Changes to Send content inside request body to the specific connection.

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

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 10 revisions.

- **2026-07-13** (2021-05-01-preview) `3c12a9fc6305` — 1 info
- **2026-07-13** (2021-05-01-preview) `19d6476bb902` — 1 info
- **2026-07-13** (2021-05-01-preview) `db70e5df6e15` — 1 breaking
- **2021-04-21** (2021-05-01-preview) `5c057b21a138` — 2 warning, 2 info

## Changes

- **2026-07-13** (2021-05-01-preview) `3c12a9fc6305` — 1 info
  - api operation id `WebPubSub_SendToConnection` removed and replaced with `SendToConnection`
- **2026-07-13** (2021-05-01-preview) `19d6476bb902` — 1 info
  - added the new optional `query` request parameter `messageTtlSeconds`
- **2026-07-13** (2021-05-01-preview) `db70e5df6e15` — 1 breaking
  - the `query` request parameter `api-version` became required
- **2021-04-21** (2021-05-01-preview) `5c057b21a138` — 2 warning, 2 info
  - the optional response header `x-ms-error-code` removed for the status `default`
  - deleted the `query` request parameter `messageTtlSeconds`
  - api operation id `SendToConnection` removed and replaced with `WebPubSub_SendToConnection`
  - the `query` request parameter `api-version` became optional

---

[Operation](https://skmtc.dev/azure/apis/webpubsub/docs/api/hubs/:hub/connections/:connectionId/:send/post.md) · [API](https://skmtc.dev/azure/apis/webpubsub.md) · [Page](https://skmtc.dev/azure/apis/webpubsub/changes/api/hubs/:hub/connections/:connectionId/:send/post)
