---
title: "Get customers trouble tickets"
method: GET
path: "/tickets"
tags: ["tickets"]
---

# Get customers trouble tickets

`GET /tickets`

## Request

- Base URL: `https://api.brandlovers.com/marketplace/v1`
- URL: `https://api.brandlovers.com/marketplace/v1/tickets`
- Auth: none declared. Required headers: `authorization`

Allows seller to receive and status, queries, requests and complaints from customers. As well related messages

## Query parameters

- `status` 'OPEN' | 'REOPENED' | 'CLOSED'
- `offset` integer
- `limit` integer

## Headers

- `authorization` string, required

## Response `200`

Success!

- GetTickets
  - `tickets` Ticket[]
    - `ticketId` string: Trouble Ticket unique identification Id
    - `status` string: Trouble Ticket status. 'OPEN','CLOSED','REOPENED'
    - `type` string: Trouble ticket type.
    - `description` string: Trouble ticked brief description
    - `createdAt` string, date-time: Date time that ticket was created
    - `updatedAt` string, date-time: Date-time with last update of this ticket
    - `closedAt` string, date-time: Date-time when ticket was closed
    - `priority` string: Trouble ticket priority
    - `customer` CustomerReference
      - `name` string: Customer name
      - `phoneNumber` string: Customer phone mumber
    - `subject` string: Short one line title describing ticket.
    - `sla` string, date-time: Date-time with a promisse for the customer when this ticket will be resolved
    - `metadata` Metadata[]
      - `key` string, required: JSON attribute key
      - `value` string, required: JSON object value
  - `metadata` Metadata[]
    - `key` string, required: JSON attribute key
    - `value` string, required: JSON object value

## Other responses

- `400`: Bad request.

## Changes

- **2016-06-13** (v1) `b73fe7ca6d89`: 2 info
  - api operation id `GetTickets` removed and replaced with ``
  - removed the non-success response with the status `404`
- **2016-06-13** (v1) `a5b49b54d026`: 2 info
  - api operation id `GetTickets` was added
  - added the non-success response with the status `404`

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