---
title: "Check if the connection with the given connectionId exists."
method: HEAD
path: "/api/hubs/{hub}/connections/{connectionId}"
tags: ["webpubsub"]
---

# Check if the connection with the given connectionId exists.

`HEAD /api/hubs/{hub}/connections/{connectionId}`

## Path parameters

- `hub` string, required
- `connectionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

## Other responses

- `404` — Not Found
- `default` — Error response

---

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