List this account's registered passkeys
GET/api/auth/webauthn/credentials
listPasskeys
Authenticated (session cookie). Returns the account's own passkeys, newest first. Reading the list is not sudo-gated — it exposes no secret, and the settings page needs it to render before the user has any reason to re-authenticate.
Requires authentication using a session cookie — see tokens and scopes.
curl
curl -X GET 'https://neosource.dev/api/auth/webauthn/credentials' \
-b 'ns_session=$NEOSOURCE_SESSION'fetch
fetch("https://neosource.dev/api/auth/webauthn/credentials", {
method: "GET",
credentials: "include",
});Responses
200The account's passkeys
application/json
Standard errors
Bodies documented once for the whole API — see standard errors.
- 401Authentication required
- 429Rate limited — retry after the `Retry-After` header
- 500Internal server error
- 503Service temporarily unavailable / at capacity — retry after the `Retry-After` header
- 504Gateway timeout — the request exceeded the server's handling budget