---
title: "Add new message to trouble ticket"
method: POST
path: "/ticket/{ticketId}/message"
tags: ["tickets"]
---

# Add new message to trouble ticket

`POST /ticket/{ticketId}/message`

## Request

- Base URL: `https://api.brandlovers.com/marketplace/v1`
- URL: `https://api.brandlovers.com/marketplace/v1/ticket/{ticketId}/message`
- Auth: none declared. Required headers: `authorization`

Add a new message to this trouble ticket. Messages can be `CUSTOMER` (customer will be able to see it) or `INTERNAL`.

## Path parameters

- `ticketId` string, required

## Headers

- `authorization` string, required

## Request body

- NewTicketMessage
  - `visibility` string, required: Defines if this message is `CUSTOMER` (customer will receive a copy) or `INTERNAL`
  - `body` string, required: Message text

## Response `200`

Success!

## Other responses

- `400`: Bad request.
- `404`: Object not found.

## Changes

- **2016-06-13** (v1) `b73fe7ca6d89`: 1 info
  - api operation id `postTicketMessage` removed and replaced with ``
- **2016-06-13** (v1) `a5b49b54d026`: 1 info
  - api operation id `postTicketMessage` was added

[Operation history](https://skmtc.dev/brandlovers/apis/brandlovers-marketplace-api-v1/changes/ticket/:ticketId/message/post.md)

---

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