---
title: "POST /heartbeat"
method: POST
path: "/heartbeat"
tags: ["heartbeat"]
---

# POST /heartbeat

`POST /heartbeat`

どのチャンネルを見ているか・編集しているかを送信します。

## Request body

- Heartbeat
  - `status` 'none' | 'monitoring' | 'editing', required — editing,monitoring,noneのユーザーの状態
  - `channelId` string, uuid, required — 現在いるチャンネルId

## Response `200`

正常に送信できました。

## Changes

- **2019-09-09** `f291e1b35a23` — 1 breaking
  - request body became required
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `postHeartbeat` was added
- **2019-07-05** `6956f2622a20` — 6 info
  - api operation id `postHeartbeat` removed and replaced with ``
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added optional request body
  - …2 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/heartbeat/post.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/4ab97bc4eb2c/schema)
