staqlydocs
REST APIAPI referenceAccounts

Start signing in with a passkey

Start signing in with a passkey

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

POST
/v1/auth/passkey/start

Returns the options for navigator.credentials.get (WebAuthn JSON, binary fields base64url) with no address: the passkey names the person. The challenge works once, for 5 minutes.

Response Body

OK

application/json
  1. response
challenge_id*string

Send it back with the browser's answer

options*

WebAuthn options (PublicKeyCredentialCreationOptionsJSON or PublicKeyCredentialRequestOptionsJSON)

curl -X POST 'https://staqly.example.com/v1/auth/passkey/start'
{  "challenge_id": "string",  "options": {}}