Passkey Registration Verify
/v1/auth/passkeys/register/verifyPart of Auth.
Finish enrollment. The first passkey returns recovery codes (once); the forced-enrollment lane also completes the login.
Authentication
This operation does not require an API key.
Request body
Required, application/json.
| Field | Type | Description |
|---|---|---|
credentialrequired | object | WebAuthn registration credential (browser JSON, opaque) |
nameoptional | string | User-facing label for this passkey |
mfa_tokenoptional | string | Enrollment token when finishing a forced enrollment |
Example request
curl -X POST "https://api.robosystems.ai/v1/auth/passkeys/register/verify" \
-H "Content-Type: application/json" \
-d '{
"credential": {}
}'Responses
200 Successful Response
| Field | Type | Description | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
passkeyrequired | PasskeyInfo | The newly enrolled passkey PasskeyInfo fields
| |||||||||||||||||||||||||||
recovery_codesoptional | string[] | Single-use recovery codes — returned exactly once, at first enrollment | |||||||||||||||||||||||||||
authoptional | AuthResponse | Completed login (forced-enrollment lane only) AuthResponse fields
|
| Status | Meaning |
|---|---|
| 400 | Registration failed |
| 401 | Authentication required |
| 422 | Validation Error |
| 429 | Rate limit exceeded |
| 500 | Internal server error |