---
title: "GET /channels/{channelID}/webrtc/state"
method: GET
path: "/channels/{channelID}/webrtc/state"
tags: ["webrtc"]
---

# GET /channels/{channelID}/webrtc/state

`GET /channels/{channelID}/webrtc/state`

チャンネルのWebRTC状態を取得します。

## Response `200`

正常に取得できました。

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

## Other responses

- `404` — 取得できませんでした。指定したチャンネルは存在しません。

## 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/channels/:channelID/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.dev/traptitech/apis/traq-api/revisions/ebfdfea0a128?raw)
