KeelsonDocs
    Judge Mode

    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/jsonRequired
    keelson-embedstring
    Idempotency-KeystringRequired
    1 to 255 characters. A retry with the same key returns the first answer.

    Request body

    application/json

    idstringRequired
    rawIdstringRequired
    typestringRequired
    One of public-key
    responseobjectRequired
    authenticatorAttachmentstring
    clientExtensionResultsobject

    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 objectRequired
    credentialIdstringRequired