---
title: "GET /payments/{paymentId}/teams/{teamId}/tickets/v2"
method: GET
path: "/payments/{paymentId}/teams/{teamId}/tickets/v2"
tags: ["ticket-controller"]
---

# GET /payments/{paymentId}/teams/{teamId}/tickets/v2

`GET /payments/{paymentId}/teams/{teamId}/tickets/v2`

## Request

- Base URL: `http://api.klausapp.com`
- URL: `http://api.klausapp.com/payments/{paymentId}/teams/{teamId}/tickets/v2`
- Auth: API key in header `X-Zendesk-Authn`
- TypeScript: <https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation/docs/payments/:paymentId/teams/:teamId/tickets/v2/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `paymentId` integer, required
- `teamId` integer, required

## Query parameters

- `filterId` integer, required
- `sort` string
- `offset` integer
- `limit` integer

## Headers

- `Authorization` string
- `X-Zendesk-Authn` string
- `X-Zendesk-Doorman-Auth-Response` string

## Response `200`

OK

- ServiceResponseListTicketApiV2
  - `data` TicketApiV2[]
    - `id` integer
    - `paymentTokenId` integer
    - `subject` string
    - `sourceType` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
    - `hasReview` boolean
    - `youReviewed` boolean
    - `youViewed` boolean
    - `highlighted` boolean
    - `url` string
    - `assigneeId` string
    - `assigneeName` string
    - `assigneePictureUrl` string
    - `channel` string
    - `status` string
    - `type` string
    - `externalId` string
    - `klausSentiment` string
    - `isComplex` boolean
    - `agents` TicketApiAgent[]
      - `id` string
      - `email` string
      - `name` string
      - `pictureUrl` string
  - `total` integer
  - `messages` Message[]
    - `errorCode` string
    - `error` object

---

[API](https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation.md) - [All operations](https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/klausapp/apis/klaus-rest-api-documentation/revisions/a2efec2e5074?raw)
