Skip to content

Get passkey

Get all passkey data for a passkey including the public key. Call this endpoint if you want to extract the public-key component of a passkey for use in another platform or library.

HTTP Request
1
GET https://api.passlock.dev/v2/{tenancyId}/passkeys/{passkeyId} HTTP/1.1
2
Authorization: Bearer {apiKey}
3
Accept: application/json
HTTP Response
1
HTTP/1.1 200 OK
2
Content-Type: application/json
3
4
{
5
"_tag": "Passkey",
6
"id": "sewqeeqx69cr7axut7kat",
7
"userId": "puubifsmidah0f8c0y9bm",
8
"enabled": true,
9
"credential": {
10
"id": "bW9wN3IzenE0enJ5OXVnZXoxOWF4",
11
"userId": "MTVkMTFmdHM1Yzg0bDN0anpieG9w",
12
"username": "jdoe@example.com",
13
"aaguid": "0000-0000-0000-0000",
14
"backedUp": true,
15
"counter": 0,
16
"deviceType": "multiDevice",
17
"transports": ["internal"],
18
"publicKey": "dGhpcy1pcy1hLWNib3ItcHVibGljLWtleQ",
19
"rpId": "example.com"
20
},
21
"platform": {
22
"icon": "https://api.passlock.dev/v2/aaguid/0000-0000-0000/icon.svg",
23
"name": "Apple Passwords"
24
},
25
"createdAt": 1770123293,
26
"updatedAt": 1770123293,
27
"lastUsed": 1770123293
28
}
PropertyTypeDescription
idstringpasskeyId. Not to be confused with the credential.id
userIdstring | undefinedOptional custom user ID. Not to be confused with the credential.userId
enabledbooleanPasskey enabled
credentialobjectWebAuthn data directly related to the browser’s credential
platformobject | undefinedOptional details about the authenticator platform
createdAtnumberPasskey creation date
updatedAtnumberPasskey update/changed date
lastUsednumber | undefinedPresent if the passkey has been used for authentication
PropertyTypeDescription
idstringDevice native credential ID
userIdstringDevice native credential user ID
aaguidstringGlobal ID representing the platform used
backedUpbooleanBackup/sync status
counternumberCredential counter. Unreliable
deviceTypestringsingleDevice or multiDevice
transportsarrayCredential transport mechanisms
publicKeystring (Base64Url)Base64Url encoded public key in the raw HTTP response
rpIdstringRelying Party ID associated with the credential
PropertyTypeDescription
iconstring | undefinedOptional URL to an icon representing the authenticator platform
namestring | undefinedOptional platform name, e.g. Apple Passwords
Morty Proxy This is a proxified and sanitized view of the page, visit original site.