Dev's NoxDev's Nox
Auth

Verify a passkey assertion as a 2FA factor

Run after /auth/passkey/login/options. Verifies the assertion belongs to the authenticated account and returns a single-use 6-digit factor_code to pass on the original request.

POST
/api/auth/passkey/verify

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://loading/api/auth/passkey/verify" \  -H "Content-Type: application/json" \  -d '{    "ceremony_id": "string",    "response": {}  }'
{
  "data": {
    "factor_code": "482913"
  },
  "error": null,
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}