---
title: "チェックイン"
method: POST
path: "/webhooks/checkin/{id}"
tags: ["webhook"]
---

# チェックイン

`POST /webhooks/checkin/{id}`

Webhook IDを発行したユーザで新規チェックインを行います。

## Path parameters

- `id` string, required

## Request body

- CreateCheckin
  - `checked_in_at` string, date-time — チェックイン日時
  - `tags` string[] — タグ
  - `link` string — オカズリンク (http, https)
  - `note` string — ノート
  - `is_private` boolean — 非公開チェックインとして設定
  - `is_too_sensitive` boolean — チェックイン対象のオカズをより過激なオカズとして設定
  - `discard_elapsed_time` boolean — 前回チェックインからの経過時間を記録しない

## Response `200`

チェックイン成功

- object
  - `status` number, required — HTTPステータスコードと同じ値
  - `checkin` Checkin, required — チェックインデータ
    - `id` integer — チェックインID
    - `checked_in_at` string, date-time — チェックイン日時
    - `tags` string[] — タグ
    - `link` string — オカズリンク (http, https)
    - `note` string — ノート
    - `is_private` boolean — 非公開チェックインとして設定
    - `is_too_sensitive` boolean — チェックイン対象のオカズをより過激なオカズとして設定
    - `discard_elapsed_time` boolean — 前回チェックインからの経過時間を記録しない

## Other responses

- `404` — 無効なWebhook ID
- `422` — バリデーションエラー

## Changes

- **2021-07-31** `6544b13518b3` — 1 info
  - added the non-success response with the status `404`
- **2021-07-28** `17b37b305538` — 3 breaking, 7 warning, 1 info
  - added `#/components/schemas/UpdateCheckin, subschema #2` to the request body `allOf` list
  - the request's body type/format changed from `object`/`` to ``/``
  - the `error/message` response's property type/format changed from `object`/`` to `string`/`` for status `422`
  - removed the request property `checked_in_at`
  - …7 more
- **2021-07-28** `c33e2559c4a1` — 1 breaking, 8 info
  - the `error/violations` response's property type/format changed from `string[]`/`` to `array`/`` for status `422`
  - added the optional property `checkin/checked_in_at` to the response with the `200` status
  - added the optional property `checkin/discard_elapsed_time` to the response with the `200` status
  - added the optional property `checkin/id` to the response with the `200` status
  - …5 more
- **2020-11-08** `9566c1ff6cd2` — 1 info
  - added the new optional request property `discard_elapsed_time`
- …earlier changes not shown

[Full history](https://skmtc.dev/shikorism/apis/tissue-api/changes/webhooks/checkin/:id/post.md)

---

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