curl --request POST \
--url https://backendapi.corbado.io/v2/passkey/append/start \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"userID": "<string>",
"processID": "<string>",
"username": "<string>",
"clientInformation": {
"remoteAddress": "::ffff:172.18.0.1",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"userVerifyingPlatformAuthenticatorAvailable": true,
"conditionalMediationAvailable": true,
"clientCapabilities": {
"conditionalCreate": true,
"conditionalMediation": true,
"hybridTransport": true,
"passkeyPlatformAuthenticator": true,
"userVerifyingPlatformAuthenticator": true
},
"parsedDeviceInfo": {
"browserName": "<string>",
"browserVersion": "<string>",
"osName": "<string>",
"osVersion": "<string>"
},
"clientEnvHandle": "<string>",
"javascriptFingerprint": "<string>",
"javaScriptHighEntropy": {
"platform": "<string>",
"platformVersion": "<string>",
"mobile": true
},
"bluetoothAvailable": true,
"passwordManagerAvailable": true,
"privateMode": true,
"nativeMeta": {
"build": "<string>",
"deviceOwnerAuth": "<string>",
"isPlatformAuthenticatorAPISupported": true,
"isBluetoothAvailable": true,
"isBluetoothOn": true,
"googlePlayServices": true,
"deviceSecure": true,
"brand": "<string>",
"model": "<string>"
}
},
"passkeyIntelFlags": {
"forcePasskeyAppend": true,
"askForAutoAppend": true,
"askForConditionalCreate": true,
"askForInAppAppend": "<string>"
},
"situation": "<string>"
}
'{
"appendAllow": true,
"attestationOptions": "{\"publicKey\":{\"challenge\":\"2m6...0w9/MgW...KE=\",\"rp\":{\"name\":\"demo\",\"id\":\"localhost\"},\"user\":{\"name\":\"[email protected]\",\"id\":\"dXN...zk5\"},\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"authenticatorSelection\":{\"authenticatorAttachment\":\"platform\",\"requireResidentKey\":false,\"userVerification\":\"required\"},\"timeout\":60000,\"attestation\":\"none\"}}",
"detectionInsights": {
"tags": [
{
"category": "support",
"name": "<string>"
}
],
"credentialIds": [
"<string>"
],
"clientEnvIds": [
"<string>"
],
"passwordManagerIds": [
"<string>"
],
"historyData": {
"defaultCount": 123,
"afterErrorCount": 123,
"afterHybridCount": 123,
"autoCount": 123,
"defaultCooldown": true,
"afterErrorCooldown": true,
"afterHybridCooldown": true,
"autoCooldown": true,
"conditionalCreateCooldown": true,
"inAppCooldown": true
}
},
"decisionInsights": {
"tag": "env-no-platform-pk-support",
"isRestrictedBrowser": true,
"variant": "default",
"auto": true,
"conditional": true,
"customData": {}
}
}Starts creating a new passkey by initiating the WebAuthn ceremony. To complete the ceremony you need to call finish.
curl --request POST \
--url https://backendapi.corbado.io/v2/passkey/append/start \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"userID": "<string>",
"processID": "<string>",
"username": "<string>",
"clientInformation": {
"remoteAddress": "::ffff:172.18.0.1",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36",
"userVerifyingPlatformAuthenticatorAvailable": true,
"conditionalMediationAvailable": true,
"clientCapabilities": {
"conditionalCreate": true,
"conditionalMediation": true,
"hybridTransport": true,
"passkeyPlatformAuthenticator": true,
"userVerifyingPlatformAuthenticator": true
},
"parsedDeviceInfo": {
"browserName": "<string>",
"browserVersion": "<string>",
"osName": "<string>",
"osVersion": "<string>"
},
"clientEnvHandle": "<string>",
"javascriptFingerprint": "<string>",
"javaScriptHighEntropy": {
"platform": "<string>",
"platformVersion": "<string>",
"mobile": true
},
"bluetoothAvailable": true,
"passwordManagerAvailable": true,
"privateMode": true,
"nativeMeta": {
"build": "<string>",
"deviceOwnerAuth": "<string>",
"isPlatformAuthenticatorAPISupported": true,
"isBluetoothAvailable": true,
"isBluetoothOn": true,
"googlePlayServices": true,
"deviceSecure": true,
"brand": "<string>",
"model": "<string>"
}
},
"passkeyIntelFlags": {
"forcePasskeyAppend": true,
"askForAutoAppend": true,
"askForConditionalCreate": true,
"askForInAppAppend": "<string>"
},
"situation": "<string>"
}
'{
"appendAllow": true,
"attestationOptions": "{\"publicKey\":{\"challenge\":\"2m6...0w9/MgW...KE=\",\"rp\":{\"name\":\"demo\",\"id\":\"localhost\"},\"user\":{\"name\":\"[email protected]\",\"id\":\"dXN...zk5\"},\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"authenticatorSelection\":{\"authenticatorAttachment\":\"platform\",\"requireResidentKey\":false,\"userVerification\":\"required\"},\"timeout\":60000,\"attestation\":\"none\"}}",
"detectionInsights": {
"tags": [
{
"category": "support",
"name": "<string>"
}
],
"credentialIds": [
"<string>"
],
"clientEnvIds": [
"<string>"
],
"passwordManagerIds": [
"<string>"
],
"historyData": {
"defaultCount": 123,
"afterErrorCount": 123,
"afterHybridCount": 123,
"autoCount": 123,
"defaultCooldown": true,
"afterErrorCooldown": true,
"afterHybridCooldown": true,
"autoCooldown": true,
"conditionalCreateCooldown": true,
"inAppCooldown": true
}
},
"decisionInsights": {
"tag": "env-no-platform-pk-support",
"isRestrictedBrowser": true,
"variant": "default",
"auto": true,
"conditional": true,
"customData": {}
}
}Basic authentication is used to authenticate requests to the Backend API. The username is the project ID and the password is the API secret.
The project ID and API secret can be found in the Developer Panel.
ID of the user
Show child attributes
Client's IP address
"::ffff:172.18.0.1"
Client's user agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36"
Show child attributes
Client's environment handle
Client's fingerprint
Client's Bluetooth availability
Client's password manager availability
Show child attributes
Passkey creation process has been started.
"{\"publicKey\":{\"challenge\":\"2m6...0w9/MgW...KE=\",\"rp\":{\"name\":\"demo\",\"id\":\"localhost\"},\"user\":{\"name\":\"[email protected]\",\"id\":\"dXN...zk5\"},\"pubKeyCredParams\":[{\"type\":\"public-key\",\"alg\":-7},{\"type\":\"public-key\",\"alg\":-35},{\"type\":\"public-key\",\"alg\":-36},{\"type\":\"public-key\",\"alg\":-257},{\"type\":\"public-key\",\"alg\":-258},{\"type\":\"public-key\",\"alg\":-259},{\"type\":\"public-key\",\"alg\":-37},{\"type\":\"public-key\",\"alg\":-38},{\"type\":\"public-key\",\"alg\":-39},{\"type\":\"public-key\",\"alg\":-8}],\"authenticatorSelection\":{\"authenticatorAttachment\":\"platform\",\"requireResidentKey\":false,\"userVerification\":\"required\"},\"timeout\":60000,\"attestation\":\"none\"}}"
Show child attributes
Show child attributes
Show child attributes
env-no-platform-pk-support, env-no-pk-support, user-no-pks, user-login-blacklisted, user-security-key, user-positive-env-history, user-negative-env-history, env-blacklisted, user-platform-pk-high-confidence, user-cross-platform-pk-high-confidence, user-env-no-pks, default-deny, passkey-list-initiated-process, user-append-blacklisted, process-pk-login-sk-completed, process-pk-login-platform-completed, process-pk-login-not-offered, process-pk-login-incomplete, process-pk-login-cross-platform-completed, device-local-platform-passkey-experiment, env-broken, process-pk-login-aborted, env-password-manager-pk-experiment default, after-error, after-hybrid, passkey-list, after-no-credential Was this page helpful?