Complete passkey registration.
curl --request POST \ --url https://auth.example.com/api/account/passkeys/complete \ --header 'Content-Type: application/json' \ --cookie authrim_session=<authrim_session> \ --data '{ "challenge_id": "example", "passkey_response": { "additionalProperty": "example" }, "device_name": "example" }'Verifies a WebAuthn registration response against the stored challenge and registers the passkey for the authenticated Account Page user.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
object
Example generated
{ "challenge_id": "example", "passkey_response": { "additionalProperty": "example" }, "device_name": "example"}Responses
Section titled “ Responses ”Account Page passkey creation response.
object
object
Display-only WebAuthn authenticator AAGUID. Do not use for trust decisions.
Best-effort WebAuthn Signal API data for authenticated Account Page browser sessions. Credential IDs are exposed only in this authenticated self-service response and are intended for PublicKeyCredential.signalAllAcceptedCredentials().
object
Base64url-encoded WebAuthn user handle.
Base64url-encoded credential IDs accepted by the server for this user.
Example
{ "webauthn_signal": { "rp_id": "login.example.com", "user_id": "dXNlci0xMjM" }}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Error response.
object
Stable Authrim error category that can be provided to support.
Opaque occurrence identifier that can be provided to support for correlation.
Example generated
{ "error": "example", "message": "example", "error_description": "example", "error_code": "example", "error_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}