---
title: "Send Message Client"
method: POST
path: "/api/messages"
tags: ["Messagerie"]
---

# Send Message Client

`POST /api/messages`

## Request

- Base URL: `https://api.dataroia.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dataroia.com/api/messages`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Le client envoie un message à l'équipe Dataroia.

## Request body

- MessageCreate
  - `content` string, required

## Response `201`

Successful Response

- MessageOut
  - `id` integer, required
  - `dossier_id` integer, required
  - `content` string, required
  - `sender_type` string, required
  - `created_at` string, date-time, required
  - `read_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataroia/apis/dataroia-api.md) · [All operations](https://skmtc.dev/dataroia/apis/dataroia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataroia/apis/dataroia-api/revisions/e3c92fa296be?raw)
