---
title: "Post Message"
method: POST
path: "/v1/disputes/{disputeId}/messages"
tags: ["Disputes"]
---

# Post Message

`POST /v1/disputes/{disputeId}/messages`

Use this endpoint to post messages to a dispute when the POST MESSAGE capability is allowed

## Path parameters

- `disputeId` string, required

## Headers

- `Request-Reference` string
- `Request-Idempotency-Key` string

## Request body

- MessageRequest — Request body for merchant message
  - `content` string, required — The message content

## Response `201`

Successfully posted the message for a dispute

- MessageDto — Message details
  - `content` string, required — The message content
  - `sender` 'MERCHANT' | 'PROVIDER' — Sender of the message
  - `phase` 'PRE_DISPUTE' | 'DISPUTE' | 'PRE_ARBITRATION' | 'ARBITRATION' — Phase of the dispute when message was created
  - `createdAt` string, date-time, required — Date and time when the message was created

## Other responses

- `400` — Bad Request
- `404` — Not found
- `409` — Target event could not be reset due to a concurrent update.
- `500` — Internal Server Error

---

[API](https://skmtc.net/ppro/apis/payment-charges.md) · [All operations](https://skmtc.net/ppro/apis/payment-charges/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ppro/payment-charges/revisions/112e8bb4c815/schema)
