Dev's NoxDev's Nox
Auth

Finish passkey registration

Verify the attestation and store the new credential.

POST
/api/auth/passkey/register/verify

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://loading/api/auth/passkey/register/verify" \  -H "Content-Type: application/json" \  -d '{    "ceremony_id": "string",    "response": {}  }'
{
  "data": {
    "id": "a1b2c3d4-0000-4000-8000-000000000000",
    "name": "My laptop",
    "device_type": "multiDevice",
    "backed_up": true,
    "discoverable": true,
    "transports": [
      "internal",
      "hybrid"
    ],
    "created_at": 1680000000000,
    "last_used_at": 1680000000000
  },
  "error": null,
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}
{
  "data": null,
  "error": {
    "code": "NOT_FOUND",
    "message": "Resource not found.",
    "status": 404
  },
  "time": 1680000000000,
  "request": "/api/endpoint"
}