---
title: "Send document message"
method: POST
path: "/v2/messages/document"
tags: ["Messages"]
---

# Send document message

`POST /v2/messages/document`

Send a document message via WhatsApp Official. The document URL is sent directly to the Meta API. Filename is required and will be displayed to the recipient. Returns immediately with QUEUED status.

## Headers

- `api-token` string, required

## Request body

- object
  - `channel_account_id` string, uuid, required — UUID of the WhatsApp Official channel account
  - `contact_id` string, uuid, required — UUID of the contact to send the document to
  - `url` string, uri, required — Direct URL of the document to send
  - `filename` string, required — Filename displayed to the recipient
  - `caption` string — Optional caption for the document
  - `chat_id` string, uuid — Optional UUID of an existing chat. If not provided, the system will find or create a chat automatically.

## Response `200`

Document message queued for sending

- object
  - `status` integer
  - `data` object
    - `success` boolean
    - `message_id` string, uuid
    - `chat_id` string, uuid
    - `status` 'QUEUED'

## Other responses

- `400` — Validation error
- `401` — Authentication error - invalid or missing api-token
- `404` — Resource not found

---

[API](https://skmtc.net/clint/apis/clint-api.md) · [All operations](https://skmtc.net/clint/apis/clint-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clint/clint-api/revisions/12b8f9eff943/schema)
