---
title: "Changes to Send document message"
method: POST
path: "/messages/document"
---

# Changes to Send document message

`POST /messages/document`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 9 revisions.

- **2026-08-07** `30bd33ee45c9` — 3 info
- **2026-07-28** `8ccfb9a461e2` — 4 breaking, 6 info

## Changes

- **2026-08-07** `30bd33ee45c9` — 3 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `404`
- **2026-07-28** `8ccfb9a461e2` — 4 breaking, 6 info
  - request body became required
  - the `from` request property's minLength was increased from `0` to `1`
  - the `to` request property's minLength was increased from `0` to `1`
  - the `document/link` request property type/format changed from `string`/`` to `string`/`uri`
  - the request property `document` became optional
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - the response property `id` became required for the status `200`
  - the `id` response's property pattern `^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$` was added for the status `200`

---

[Operation](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/docs/messages/document/post.md) · [API](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api.md) · [Page](https://skmtc.dev/indigohive/apis/cogfy-messenger-public-api/changes/messages/document/post)
