API referenceAccount
`POST /account/mfa/webauthn-registrations` — begin registering a passkey or security key; answers Cognito's creation options.
POST
/account/mfa/webauthn-registrationsRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The body of the /account/mfa/* calls that carry nothing but the step-up
token. No Debug: a live credential.
Response Body
application/json
curl -X POST "https://example.com/account/mfa/webauthn-registrations" \ -H "Content-Type: application/json" \ -d '{ "access_token": "string" }'{ "credential_creation_options": "string"}