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

# Get trouble ticket messages

`GET /ticket/{ticketId}/messages`

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

---

[API](https://skmtc.net/brandlovers/apis/brandlovers-marketplace-api-v1.md) · [All operations](https://skmtc.net/brandlovers/apis/brandlovers-marketplace-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brandlovers/brandlovers-marketplace-api-v1/revisions/cb3af6151ae4/schema)
