List the current account's passkeys
const url = 'https://api.aetherpush.com/v1/mfa/passkeys';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.aetherpush.com/v1/mfa/passkeys \ --header 'Authorization: Bearer <token>'Session-only. Returns the account’s passkeys together with the MFA state, the number of unused recovery codes, and the two-factor setup deadline the dashboard enforces.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Passkeys, MFA state, and remaining recovery codes.
object
object
singleDevice or multiDevice, as reported at registration.
Whether a confirmed authenticator app is set up.
When this account must have two-factor authentication set up, in epoch milliseconds. Null until a first password login stamps it. The dashboard reads this rather than its own session storage, so the deadline survives a new tab.
The server’s own verdict on the deadline, so the dashboard does not have to compare timestamps against a client clock.
Examplegenerated
{ "passkeys": [ { "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "name": "example", "deviceType": "example", "backedUp": true, "transports": [ "example" ], "createdAt": "2026-04-15T12:00:00Z", "lastUsedAt": "2026-04-15T12:00:00Z" } ], "mfaEnabled": true, "remainingRecoveryCodes": 1, "totpEnabled": true, "mfaSetupDeadline": 1, "mfaSetupOverdue": true}Authentication required.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}API keys and named access keys cannot manage passkeys; a login session is required.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}