---
title: "Gets passkey data associated with a user"
method: GET
path: "/sdk/{environmentId}/users/passkeys"
tags: ["SDK"]
---

# Gets passkey data associated with a user

`GET /sdk/{environmentId}/users/passkeys`

## Path parameters

- `environmentId` string, required

## Response `200`

successful operation - user passkeys fetched

- GetUserPasskeysResponse
  - `passkeys` UserPasskey[], required — The passkeys belonging to the user
    - `id` string, required
    - `alias` string
    - `userAgent` string
    - `origin` string
    - `credentialId` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time
    - `storage` PasskeyStorage
      - `name` string, required
      - `icon` string, required
      - `updatedAt` string, date-time
  - `count` number, required

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/versions/aac826315d90/schema)
