---
title: "Send a message"
method: POST
path: "/message"
tags: ["Messages"]
---

# Send a message

`POST /message`

Creates a new message and sends it. Supports text messages and media messages.

## Request body

- object
  - `sender` string — The phone number sending the message
  - `recipient` string — The phone number receiving the message
  - `message` string — The message content
  - `media` string[], nullable — Media files to attach to the message
  - `url` string, nullable — URL to a media file to attach to the message

## Response `200`

Message created successfully

- object
  - `data` object — The created message

## Other responses

- `422` — Validation error

---

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