API reference Embed
Create a passkey in the embedded approval
POST/v1/embed/passkeys
Verifies the new credential against the session's challenge, made in the approval framed by the embed's platform, and stores it as the user's passkey (ES256 only).
Headers
Content-Typeapplication/jsonRequiredkeelson-embedstringIdempotency-KeystringRequired- 1 to 255 characters. A retry with the same key returns the first answer.
Request body
application/json
idstringRequiredrawIdstringRequiredtypestringRequired- One of
public-key responseobjectRequiredauthenticatorAttachmentstringclientExtensionResultsobject
Responses
- 201Who the frame signs for, with the new passkey
- 401No live embed session, or no user linked
- 422The credential did not verify
201 response
passkeysarray of objectRequiredcredentialIdstringRequired