---
title: "GET /webrtc/state"
method: GET
path: "/webrtc/state"
tags: ["webrtc"]
---

# GET /webrtc/state

`GET /webrtc/state`

自身のWebRTCの状態を取得します。

## Response `200`

正常に取得できました。

- WebRTCUserState
  - `userId` string, uuid — ユーザーUUID
  - `channelId` string, uuid — ユーザーの接続先チャンネルUUID(未接続の場合は00000000-0000-0000-0000-000000000000)
  - `state` string[] — ユーザーの状態の配列(未接続の場合は空配列)

## Changes

- **2019-08-26** `98411c5c4e25` — 1 info
  - endpoint added
- **2019-07-05** `6956f2622a20` — 1 info
  - api path removed with deprecation

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/webrtc/state/get.md)

---

[API](https://skmtc.dev/traptitech/apis/traq-api.md) · [All operations](https://skmtc.dev/traptitech/apis/traq-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/traptitech/traq-api/revisions/84d2b25db3ba/schema)
