---
title: "Gets passkey authentication options"
method: GET
path: "/sdk/{environmentId}/users/passkeys/authenticate"
tags: ["SDK"]
---

# Gets passkey authentication options

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

## Path parameters

- `environmentId` string, required

## Query parameters

- `relatedOriginRpId` string

## Response `200`

returns passkey authentication options

- GetPasskeyAuthenticationOptionsResponse
  - `challenge` string, required
  - `timeout` number — Timeout in milliseconds
  - `rpId` string
  - `userVerification` 'discouraged' | 'preferred' | 'required'
  - `allowCredentials` PasskeyAllowCredential[]
    - `id` string, required — Base64URL encoded credential ID
    - `transports` PasskeyTransport[]
  - `extensions` PasskeyExtension
    - `appid` string — FIDO AppID
    - `appidExclude` string — FIDO AppID exclusion
    - `credProps` boolean — Request credential properties
    - `uvm` boolean — Request user verification method
  - `hints` 'hybrid' | 'security-key' | 'client-device'

## Other responses

- `400` — Bad Request
- `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)
