Vigilfield Docs
API referenceAuth

`POST /auth/webauthn/start` — begin a passkey / security-key sign-in (`rh-kk6vbu`). Anonymous; the server runs Cognito's `USER_AUTH` flow with `PREFERRED_CHALLENGE=WEB_AUTHN` on the org's app client.

POST/auth/webauthn/start

Every "no challenge" outcome — no key registered, unknown user, unknown org — is one 400 with one sentence, so this is no better an account oracle than the pool's preventUserExistenceErrors already allows.

Json only, like /auth/session and for the same login-CSRF reason: a form post is a 415 before the handler runs.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /auth/webauthn/start's body.

Response Body

application/json

curl -X POST "https://example.com/auth/webauthn/start" \  -H "Content-Type: application/json" \  -d '{    "email": "string",    "slug": "string"  }'
{  "credential_request_options": "string",  "session": "string"}