curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_authenticators \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"authenticators": [
{
"transports": [
"<AUTHENTICATOR_TRANSPORT_BLE>"
],
"attestationType": "<string>",
"aaguid": "<string>",
"credentialId": "<string>",
"model": "<string>",
"credential": {
"publicKey": "<string>",
"type": "<CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR>"
},
"authenticatorId": "<string>",
"authenticatorName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}
Get details about authenticators for a user
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_authenticators \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"authenticators": [
{
"transports": [
"<AUTHENTICATOR_TRANSPORT_BLE>"
],
"attestationType": "<string>",
"aaguid": "<string>",
"credentialId": "<string>",
"model": "<string>",
"credential": {
"publicKey": "<string>",
"type": "<CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR>"
},
"authenticatorId": "<string>",
"authenticatorName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}
Show authenticators details
Show credential details
CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR
, CREDENTIAL_TYPE_API_KEY_P256
, CREDENTIAL_TYPE_RECOVER_USER_KEY_P256
, CREDENTIAL_TYPE_API_KEY_SECP256K1
, CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256
, CREDENTIAL_TYPE_API_KEY_ED25519
, CREDENTIAL_TYPE_OTP_AUTH_KEY_P256
, CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256
, CREDENTIAL_TYPE_OAUTH_KEY_P256
, CREDENTIAL_TYPE_LOGIN
curl --request POST \
--url https://api.turnkey.com/public/v1/query/get_authenticators \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header "X-Stamp: <string> (see Authorizations)" \
--data '{
"organizationId": "<string>",
"userId": "<string>"
}'
{
"authenticators": [
{
"transports": [
"<AUTHENTICATOR_TRANSPORT_BLE>"
],
"attestationType": "<string>",
"aaguid": "<string>",
"credentialId": "<string>",
"model": "<string>",
"credential": {
"publicKey": "<string>",
"type": "<CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR>"
},
"authenticatorId": "<string>",
"authenticatorName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}
Was this page helpful?