Authenticators
Get authenticators
Get details about authenticators for a user.
POST
https://api.0xkey.io
/
public
/
v1
/
query
/
get_authenticators
Get authenticators
curl --request POST \
--url https://api.0xkey.io/public/v1/query/get_authenticators \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '
{
"organizationId": "<string>",
"userId": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Stamp': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: '<string>', userId: '<string>'})
};
fetch('https://api.0xkey.io/public/v1/query/get_authenticators', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.0xkey.io/public/v1/query/get_authenticators"
payload = {
"organizationId": "<string>",
"userId": "<string>"
}
headers = {
"X-Stamp": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"authenticators": [
{
"transports": [
"AUTHENTICATOR_TRANSPORT_UNSPECIFIED"
],
"attestationType": "<string>",
"aaguid": "<string>",
"credentialId": "<string>",
"model": "<string>",
"credential": {
"publicKey": "<string>",
"type": "CREDENTIAL_TYPE_UNSPECIFIED"
},
"authenticatorId": "<string>",
"authenticatorName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}Authorizations
ApiKeyAuthAuthenticatorAuth
Body
application/json
Response
A successful response.
A list of authenticators.
Show child attributes
Show child attributes
⌘I
Get authenticators
curl --request POST \
--url https://api.0xkey.io/public/v1/query/get_authenticators \
--header 'Content-Type: application/json' \
--header 'X-Stamp: <api-key>' \
--data '
{
"organizationId": "<string>",
"userId": "<string>"
}
'const options = {
method: 'POST',
headers: {'X-Stamp': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({organizationId: '<string>', userId: '<string>'})
};
fetch('https://api.0xkey.io/public/v1/query/get_authenticators', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.0xkey.io/public/v1/query/get_authenticators"
payload = {
"organizationId": "<string>",
"userId": "<string>"
}
headers = {
"X-Stamp": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"authenticators": [
{
"transports": [
"AUTHENTICATOR_TRANSPORT_UNSPECIFIED"
],
"attestationType": "<string>",
"aaguid": "<string>",
"credentialId": "<string>",
"model": "<string>",
"credential": {
"publicKey": "<string>",
"type": "CREDENTIAL_TYPE_UNSPECIFIED"
},
"authenticatorId": "<string>",
"authenticatorName": "<string>",
"createdAt": {
"seconds": "<string>",
"nanos": "<string>"
},
"updatedAt": {
"seconds": "<string>",
"nanos": "<string>"
}
}
]
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}