> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prelude.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Get passkey config

> Get the WebAuthn Relying Party configuration for the application.



## OpenAPI

````yaml get /v2/session/apps/{appID}/config/passkey
openapi: 3.1.1
info:
  title: Prelude Session Management API
  version: 0.0.1
  summary: The Prelude API for Session Management
  description: The Prelude API for Session Management.
  contact:
    email: support@prelude.so
    url: https://prelude.so
servers:
  - url: https://api.prelude.dev
    description: Production server
security:
  - Authorization: []
tags:
  - name: Mode
    description: Manage the mode (dev/prod) of your application.
  - name: Tokens
    description: Mint development tokens for your application.
  - name: Users
    description: Manage the users of your application.
  - name: Webhooks
    description: Manage the webhooks of your application.
  - name: Domains
    description: Manage the domains of your application.
  - name: Config - Scopes
    description: Manage the scope configuration of your application.
  - name: Config - Groups
    description: >-
      Manage the group configuration of your application. A group owns a set of
      scopes; users assigned to a group are granted the group's scopes.
  - name: Config - Claims
    description: Manage the claims mapping configuration of your application.
  - name: Config - Step-up
    description: Manage the step-up authentication configuration of your application.
  - name: Config - Migration
    description: Manage the user migration configuration of your application.
  - name: Config - Login OTP
    description: Manage the OTP login configuration of your application.
  - name: Config - Login OAuth
    description: Manage the OAuth login configuration of your application.
  - name: Config - Login SAML
    description: Manage the SAML 2.0 SSO connections of your application.
  - name: Config - Login Password
    description: Manage the password login configuration of your application.
  - name: Config - Passkey
    description: Manage the WebAuthn passkey configuration of your application.
  - name: Config - OAuth Server
    description: >-
      Configure your application as an OAuth 2.0 authorization server so MCP
      clients and other third-party apps can sign your users in.
paths:
  /v2/session/apps/{appID}/config/passkey:
    parameters:
      - $ref: '#/components/parameters/appIDParam'
    get:
      tags:
        - Config - Passkey
      summary: Get passkey config
      description: Get the WebAuthn Relying Party configuration for the application.
      operationId: getPasskeyConfig
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPasskeyConfigResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AppNotFoundError'
components:
  parameters:
    appIDParam:
      in: path
      name: appID
      required: true
      description: The id of the app the request refers to.
      schema:
        $ref: '#/components/schemas/AppID'
  schemas:
    GetPasskeyConfigResponse:
      type: object
      properties:
        config:
          description: The passkey configuration, or null if not configured.
          oneOf:
            - $ref: '#/components/schemas/PasskeyConfigResponse'
            - type: 'null'
    AppNotFoundError:
      type: object
      properties:
        code:
          type: string
          enum:
            - app_not_found
          examples:
            - app_not_found
        status:
          type: string
          enum:
            - not_found
          examples:
            - not_found
        message:
          type: string
          examples:
            - The application was not found.
      required:
        - code
        - status
        - message
    AppID:
      type: string
      description: An application's unique identifier.
      examples:
        - 54e9ujn
        - fvua38g
    PasskeyConfigResponse:
      type: object
      properties:
        rp_id:
          type: string
          description: The WebAuthn Relying Party identifier (typically your domain).
          examples:
            - example.com
        rp_name:
          type: string
          description: A human-readable display name for the Relying Party.
          examples:
            - Example App
        allowed_origins:
          type: array
          description: HTTPS origins allowed to perform WebAuthn operations.
          items:
            type: string
          examples:
            - - https://app.example.com
        user_verification:
          type: string
          description: WebAuthn user verification requirement. Defaults to `required`.
          enum:
            - required
            - preferred
            - discouraged
          examples:
            - required
        attestation_preference:
          type: string
          description: WebAuthn attestation conveyance preference. Defaults to `none`.
          enum:
            - none
            - indirect
            - direct
            - enterprise
          examples:
            - none
        created_at:
          type: string
          format: date-time
          examples:
            - '2025-03-15T10:30:00Z'
        updated_at:
          type: string
          format: date-time
          examples:
            - '2025-03-15T12:00:00Z'
      required:
        - rp_id
        - rp_name
        - allowed_origins
        - user_verification
        - attestation_preference
        - created_at
        - updated_at
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````