provider Webauthn GET /v1/webauthn/credentials/{user_id}/{domain}
@utdk/stytch /v1/webauthn/credentials/{user_id}/{domain}
Listcredentials
List the public key credentials of the WebAuthn Registrations or Passkeys registered to a specific User.
user_id path required
The `user_id` of an active user the Passkey or WebAuthn registration should be tied to.
string
domain path required
The domain for Passkeys or WebAuthn. Defaults to `window.location.hostname`.
string

Try it

Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

apiWebauthnV1Listcredentials
GET/v1/webauthn/credentials/{user_id}/{domain}
List the public key credentials of the WebAuthn Registrations or Passkeys registered to a specific User.

Parameters

required

The `user_id` of an active user the Passkey or WebAuthn registration should be tied to.

required

The domain for Passkeys or WebAuthn. Defaults to `window.location.hostname`.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiWebauthnV1Listcredentials()