# Create a ticket reply

`POST https://api.cademi.com.br/api/v3/support/tickets/{ticket_id}/replies`

Operation ID: `tickets.replies.create` · API v3

Adds a reply to the ticket conversation on behalf of the support team. The reply is attributed to the credential that made the request (`author.kind` is `credential`).

Required permissions: `tickets.update`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `ticket_id` | path | string | yes |  |
| `Idempotency-Key` | header | string | yes |  |

## Request body

Content type: `application/json`, required.

| Field | Type | Required | Description |
|---|---|---|---|
| `file_ids` | array of string | no |  |
| `text` | string | yes |  |

## Responses

### 201

Returns the newly created reply.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The ticket was not found or is not accessible with the current credentials.

Body: Error.

### 422

The request body or query parameters failed validation.

Body: ValidationFailed.

Full schema: https://cademi.dev/openapi/v3.json
