API Reference
Frontend API
- Configs
- Users
- GETGet Current User
- DELDelete Current User
- PATCHUpdate Current User
- GETGet User Passkeys
- POSTStart Passkey Append
- POSTFinish Passkey Append
- DELDelete User Passkey
- POSTRefresh Session
- POSTLogout User
- POSTCreate Identifier
- DELDelete Identifier
- PATCHUpdate Identifier
- POSTStart Identifier Verification
- POSTFinish Identifier Verification
- GET
- Auth
- CorbadoConnect
Backend API
- Users
- Challenges
- Identifiers
- AuthEvents
- PasskeyEvents
- PasskeyChallenges
- PasswordManagers
- ClientEnvs
- ProjectConfig
- ConnectTokens
- WebhookEndpoints
- Sessions
- Passkeys
Users
Finish Passkey Append
Finishes passkey append for current user
POST
/
v2
/
me
/
passkeys
/
append
/
finish
Copy
curl --request POST \
--url https://{projectId}.frontendapi.corbado.io/v2/me/passkeys/append/finish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"attestationResponse": "{\"type\":\"public-key\",\"id\":\"JM6...J_Q\",\"rawId\":\"JM6...J_Q\",\"authenticatorAttachment\":null,\"response\":{\"clientDataJSON\":\"eyJ...ZX0\",\"authenticatorData\":\"SZY...AAQ\",\"signature\":\"Ni7...YAg\",\"userHandle\":\"dXN...zk5\"},\"clientExtensionResults\":{}}",
"clientInformation": {
"bluetoothAvailable": true,
"clientEnvHandle": "<string>",
"visitorId": "<string>",
"canUsePasskeys": true,
"isUserVerifyingPlatformAuthenticatorAvailable": true,
"isConditionalMediationAvailable": true,
"clientCapabilities": {
"conditionalCreate": true,
"conditionalMediation": true,
"hybridTransport": true,
"passkeyPlatformAuthenticator": true,
"userVerifyingPlatformAuthenticator": true
},
"javaScriptHighEntropy": {
"platform": "<string>",
"platformVersion": "<string>",
"mobile": true
},
"isNative": true,
"webdriver": true,
"privateMode": true,
"clientEnvHandleMeta": {
"ts": 123,
"source": "ls"
}
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
tbd
Was this page helpful?
Copy
curl --request POST \
--url https://{projectId}.frontendapi.corbado.io/v2/me/passkeys/append/finish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"attestationResponse": "{\"type\":\"public-key\",\"id\":\"JM6...J_Q\",\"rawId\":\"JM6...J_Q\",\"authenticatorAttachment\":null,\"response\":{\"clientDataJSON\":\"eyJ...ZX0\",\"authenticatorData\":\"SZY...AAQ\",\"signature\":\"Ni7...YAg\",\"userHandle\":\"dXN...zk5\"},\"clientExtensionResults\":{}}",
"clientInformation": {
"bluetoothAvailable": true,
"clientEnvHandle": "<string>",
"visitorId": "<string>",
"canUsePasskeys": true,
"isUserVerifyingPlatformAuthenticatorAvailable": true,
"isConditionalMediationAvailable": true,
"clientCapabilities": {
"conditionalCreate": true,
"conditionalMediation": true,
"hybridTransport": true,
"passkeyPlatformAuthenticator": true,
"userVerifyingPlatformAuthenticator": true
},
"javaScriptHighEntropy": {
"platform": "<string>",
"platformVersion": "<string>",
"mobile": true
},
"isNative": true,
"webdriver": true,
"privateMode": true,
"clientEnvHandleMeta": {
"ts": 123,
"source": "ls"
}
}
}'
Assistant
Responses are generated using AI and may contain mistakes.