Skip to content

Complete Passkey registration

POST
/v1/auth/2fa/passkey/register
curl --request POST \
--url https://api.parasta.io/v1/auth/2fa/passkey/register \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "id": "example", "rawId": "example", "response": { "attestationObject": "example", "clientDataJSON": "example" }, "type": "public-key" }'
Media type application/json
object
id
required
string
rawId
required

Base64url

string
response
required
object
attestationObject
string
clientDataJSON
string
type
required
string
Allowed values: public-key

OK

Media type application/json
object
credentialId
string
enabled
boolean
Example generated
{
"credentialId": "example",
"enabled": true
}

Please contact your representative. 담당자에게 문의해주세요.