Add the passkey from the browser's answer
Add the passkey from the browser's answer
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
header
AuthorizationBearer <token>API key (stk_...), or in the Community Edition the access token (stk_local_...)
Idempotency-Key?stringReplays the stored response when the same key is repeated with the same method, path,
query string and body within 24 hours (422 idempotency_mismatch with a different
request, 409 idempotency_in_progress while the first one runs). Not applied to
multipart uploads or to responses that carry a secret.
Length
length <= 200application/json- body
challenge_id*stringname?stringWhat the person calls it, such as MacBook (default Passkey)
response*The PublicKeyCredential as JSON (credential.toJSON())
Added
application/json- response
data*array<>curl -X POST 'https://staqly.example.com/v1/account/sign-in-methods/passkey/finish' \ -H 'Content-Type: application/json' \ -d '{ "challenge_id": "string", "response": {}}'{ "data": [ { "provider": "google", "subject": "string", "email": "string", "name": "string", "created_at": "2019-08-24T14:15:22Z", "last_login_at": "2019-08-24T14:15:22Z" } ]}