Skip to main content
POST
/
auth
/
webauthn
/
authenticate
Authenticate with WebAuthn
curl --request POST \
  --url https://api.fluxer.app/v1/auth/webauthn/authenticate \
  --header 'Content-Type: application/json' \
  --data '
{
  "response": {},
  "challenge": "<string>"
}
'
{
  "token": "<string>",
  "user_id": "<string>"
}

Body

application/json
response
object
required

WebAuthn authentication response

challenge
string
required

The challenge string from authentication options

Response

Success

token
string
required

Authentication token for API requests

user_id
string
required

ID of the authenticated user