---
title: "GET /v2/api/ticket/{network}/lock/{lockAddress}/key/{keyId}"
method: GET
path: "/v2/api/ticket/{network}/lock/{lockAddress}/key/{keyId}"
---

# GET /v2/api/ticket/{network}/lock/{lockAddress}/key/{keyId}

`GET /v2/api/ticket/{network}/lock/{lockAddress}/key/{keyId}`

get a ticket for a key by lock.

## Path parameters

- `network` integer, required
- `lockAddress` string, required
- `keyId` string, required

## Response `200`

Successfully retrieved the ticket.

- object
  - `keyId` string, required
  - `name` string, required
  - `owner` string, required
  - `manager` string, required
  - `lockAddress` string, required
  - `image` string, required
  - `description` string, required
  - `checkedInAt` number
  - `userMetadata` object, required
  - `expiration` string, required
  - `attributes` object[], required
    - `trait_type` string
    - `value` string, required
    - `display_type` string
  - `publicLockVersion` string, required
  - `isVerifier` boolean, required — Whether the user who requested the ticket can verify the ticket.

## Other responses

- `401` — User is not authenticated.

---

[API](https://skmtc.net/unlock-protocol/apis/unlock-locksmith.md) · [All operations](https://skmtc.net/unlock-protocol/apis/unlock-locksmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unlock-protocol/unlock-locksmith/versions/e003b998de45/schema)
