---
title: "Create passkey sign-in WebAuthn authentication with identifier"
method: POST
path: "/api/experience/verification/sign-in-passkey/authentication"
tags: ["Experience"]
---

# Create passkey sign-in WebAuthn authentication with identifier

`POST /api/experience/verification/sign-in-passkey/authentication`

Create WebAuthn authentication options for passkey sign-in with an identifier. The identifier is used to look up the user's WebAuthn credentials and generate non-discoverable authentication options.

## Request body

- object
  - `identifier` object, required — The identifier used to look up the user.
    - `type` 'username' | 'email' | 'phone', required
    - `value` string, required

## Response `200`

Passkey sign-in WebAuthn authentication options have been successfully created.

- object
  - `verificationId` string, required — The unique verification ID of the passkey sign-in WebAuthn authentication record.
  - `authenticationOptions` object, required — The WebAuthn authentication options for initiating passkey sign-in.
    - `challenge` string, required
    - `timeout` number
    - `rpId` string
    - `allowCredentials` object[]
      - `type` string, "public-key", required
      - `id` string, required
      - `transports` string[]
    - `userVerification` 'required' | 'preferred' | 'discouraged'
    - `extensions` object
      - `appid` string
      - `credProps` boolean
      - `hmacCreateSecret` boolean

## Other responses

- `400` — Invalid request.
- `404` — User not found.

---

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