---
title: "Enable virtual authenticator"
method: POST
path: "/v1/browser/webauthn/enable"
tags: ["Browser"]
---

# Enable virtual authenticator

`POST /v1/browser/webauthn/enable`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/browser/webauthn/enable`
- Auth: HTTP bearer

Creates a virtual WebAuthn authenticator via CDP WebAuthn domain.
Optionally configure transport, protocol, and verification settings.

## Request body

- object
  - `transport` string: Authenticator transport (e.g. "internal", "usb", "ble", "nfc")
  - `protocol` string: Authentication protocol ("ctap2" or "u2f")
  - `hasResidentKey` boolean
  - `hasUserVerification` boolean
  - `isUserVerified` boolean

## Response `200`

Virtual authenticator created

- VirtualAuthenticator
  - `authenticatorId` string, required
  - `transport` string, required
  - `protocol` string, required
  - `hasResidentKey` boolean, required
  - `hasUserVerification` boolean, required
  - `isUserVerified` boolean, required

## Other responses

- `400`: WebAuthn error
- `409`: Not connected to a browser
- `503`: Browser service not initialized

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
