Skip to content

Begin WebAuthn authentication

POST
/v1/auth/mfa/webauthn/begin
curl --request POST \
--url https://example.com/v1/auth/mfa/webauthn/begin \
--header 'Content-Type: application/json' \
--data '{ "challenge_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'
Media type application/json
object
challenge_id
required
string format: uuid
Example generated
{
"challenge_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

WebAuthn assertion options

Media type application/json
object
options
required
object
Example generated
{
"options": {}
}

Invalid challenge

Media type application/json
object
code
required

Machine-readable error code (e.g. “not_found”, “tenant_mismatch”).

string
message
required

Human-readable description of the error.

string
details

Optional additional context about the error.

object
key
additional properties
any
notices

Policy notices from determining Cedar rules, if applicable.

Array<string>
Example generated
{
"code": "example",
"message": "example",
"details": {},
"notices": [
"example"
]
}