# Post dispute message

Adds a message to an open dispute and returns the full thread. Callable by the paying organization (dispute:open) or the merchant owner (dispute:respond) with a console session or API key.

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

Adds a message to an open dispute and returns the full thread. Callable by the paying organization (dispute:open) or the merchant owner (dispute:respond) with a console session or API key.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | Dispute id (dsp_...). |

## Request body

```json
{
  "body": "string"
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **404**: The resource does not exist or belongs to another organization.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "message": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "dispute_id": "dsp_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "author_type": "string",
    "author_id": "aut_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "author_name": "string",
    "body": "string",
    "created_at": "2026-11-16T12:00:00Z"
  },
  "messages": [
    {
      "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "dispute_id": "dsp_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "author_type": "string",
      "author_id": "aut_01jd2x3k4m5n6p7q8r9s0t1v2w",
      "author_name": "string",
      "body": "string",
      "created_at": "2026-11-16T12:00:00Z"
    }
  ]
}
```
