---
title: "Get trouble ticket messages"
method: GET
path: "/ticket/{ticketId}/messages"
tags: ["tickets"]
---

# Get trouble ticket messages

`GET /ticket/{ticketId}/messages`

## Request

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

Returns trouble ticket history with all messages exchanged. Only tickets related to your seller will be returned. Attempt to read other tickets will return 403 (acess denied).

## Path parameters

- `ticketId` string, required

## Query parameters

- `offset` integer
- `limit` integer

## Headers

- `authorization` string, required

## Response `200`

Success!

- GetTicketMessages
  - `messages` TicketMessage[]
    - `createdAt` string, date-time, required: Date created
    - `id` string, required: Trouble Ticket Id.
    - `body` string, required: Message text
    - `visibility` string, required: Defines if this message is `CUSTOMER` (customer will receive a copy) or `INTERNAL`
  - `metadata` Metadata[], required
    - `key` string, required: JSON attribute key
    - `value` string, required: JSON object value

## Other responses

- `400`: Bad request.
- `401`: Access denied. You're not authenticated or token expired. Check your request header the `authorization` field is required.
- `403`: Access denied. You can only access your trouble tickets

## Changes

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

[Operation history](https://skmtc.dev/brandlovers/apis/brandlovers-marketplace-api-v1/changes/ticket/:ticketId/messages/get.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)
