List the current user's enrolled passkeys
curl --request GET \
--url https://api.mnemom.ai/v1/auth/passkeys \
--cookie mnemom_session=import requests
url = "https://api.mnemom.ai/v1/auth/passkeys"
headers = {"cookie": "mnemom_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'mnemom_session='}};
fetch('https://api.mnemom.ai/v1/auth/passkeys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mnemom.ai/v1/auth/passkeys",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "mnemom_session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/auth/passkeys"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "mnemom_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mnemom.ai/v1/auth/passkeys")
.header("cookie", "mnemom_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/auth/passkeys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'mnemom_session='
response = http.request(request)
puts response.read_body{
"passkeys": [
{
"credential_id": "<string>",
"friendly_name": "<string>",
"backed_up": true,
"transports": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Auth
List the current user's enrolled passkeys
Returns the safe subset of user_passkeys for the authenticated user (omits public_key, counter, last_used_ip).
GET
/
auth
/
passkeys
List the current user's enrolled passkeys
curl --request GET \
--url https://api.mnemom.ai/v1/auth/passkeys \
--cookie mnemom_session=import requests
url = "https://api.mnemom.ai/v1/auth/passkeys"
headers = {"cookie": "mnemom_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'mnemom_session='}};
fetch('https://api.mnemom.ai/v1/auth/passkeys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mnemom.ai/v1/auth/passkeys",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "mnemom_session=",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.mnemom.ai/v1/auth/passkeys"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("cookie", "mnemom_session=")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.mnemom.ai/v1/auth/passkeys")
.header("cookie", "mnemom_session=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mnemom.ai/v1/auth/passkeys")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["cookie"] = 'mnemom_session='
response = http.request(request)
puts response.read_body{
"passkeys": [
{
"credential_id": "<string>",
"friendly_name": "<string>",
"backed_up": true,
"transports": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"last_used_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}Authorizations
CookieAuthBearerAuth
HttpOnly, Secure, SameSite=Lax cookie issued by /v1/auth/sign-in (or the SSO / email-callback flows). The value is an AES-256-GCM-encrypted blob of {access_token, refresh_token, issued_at, auth_method}. Browser clients include this automatically with credentials: "include".
Response
Passkey list.
Show child attributes
Show child attributes
⌘I