---
title: "POST /messages/{messageID}/stamps/{stampID}"
method: POST
path: "/messages/{messageID}/stamps/{stampID}"
tags: ["stamp"]
---

# POST /messages/{messageID}/stamps/{stampID}

`POST /messages/{messageID}/stamps/{stampID}`

指定したメッセージに指定したスタンプを押します。

## Request body

- MessageStampPost
  - `count` integer, required — 押す個数(1-100)、100より大きい場合は100として受け取ります

## Response `204`

正常にスタンプを押すことができました。

## Other responses

- `400` — スタンプを押すことができませんでした。リクエスト内容が不正です。
- `404` — スタンプを押すことができませんでした。指定されたスタンプまたはメッセージは存在しません。

## Changes

- **2019-09-09** `4ab97bc4eb2c` — 1 info
  - the request property `count` with a default value became required
- **2019-09-09** `4d95b324a4b1` — 1 warning, 1 info
  - the `count` request property's min was set to `1.00`
  - the `count` request property default value `1` was added
- **2019-09-01** `84d2b25db3ba` — 2 info
  - added optional request body
  - added the non-success response with the status `400`
- **2019-07-24** `66a69a1387ed` — 1 info
  - api operation id `stampMessage` was added
- **2019-07-05** `6956f2622a20` — 5 info
  - the endpoint scheme security `traqOAuth2` was added to the API
  - endpoint reactivated
  - added the non-success response with the status `404`
  - removed the non-success response with the status `410`
  - …1 more

[Change history](https://skmtc.dev/traptitech/apis/traq-api/changes/messages/:messageID/stamps/:stampID/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.dev/traptitech/apis/traq-api/revisions/535e1f620613?raw)
