---
title: "Send Message"
method: POST
path: "/api/v1/projects/{project_id}/messages"
tags: ["front-door"]
---

# Send Message

`POST /api/v1/projects/{project_id}/messages`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/v1/projects/{project_id}/messages`
- Auth: HTTP bearer

## Path parameters

- `project_id` string, required

## Headers

- `Idempotency-Key` string, nullable

## Request body

- MessageSend
  - `externalUserId` string, required: The caller's own end-user id (opaque to Maritime)
  - `message` string, required
  - `wait` integer: Seconds to wait for the reply inline; 0 = ack immediately
  - `claimCode` string, nullable: Claim code, for projects with new_chat_policy=claim
  - `displayName` string, nullable
  - `metadata` object, nullable: Opaque passthrough, echoed on reads and reply webhooks

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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