---
title: "Establish a WebSocket connection"
method: GET
path: "/service_agents/ws"
tags: ["Service Agent"]
---

# Establish a WebSocket connection

`GET /service_agents/ws`

Creates a new WebSocket connection for the authenticated agent.

## Other responses

- `101` — Switching Protocols. WebSocket handshake successful.
- `401` — Authentication required (UNAUTHENTICATED).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/versions/79e779080bcc/schema)
