# List your passkeys

> Source: https://truto.one/docs/api-reference/admin/passkeys/list/

`GET /auth/passkey`

Resource: **Passkeys**

## Response body

- **`result`** _(array<object>)_
  - **`id`** _(string)_
    The unique ID of the passkey. Use this to rename or delete it.
  - **`name`** _(string)_
    User-supplied label, or `null` when the passkey was registered without one.
  - **`device_type`** _(string)_
    `multiDevice` for a synced passkey (iCloud Keychain, Google Password Manager); `singleDevice` for a device-bound one (a security key, or a platform authenticator that does not sync).
    Allowed: `singleDevice`, `multiDevice`, `null`
  - **`backup_state`** _(boolean)_
    Whether the credential is currently synced into a backup (the WebAuthn BS flag). Refreshed on every sign-in.
  - **`last_used_at`** _(string)_
    ISO-8601 UTC timestamp of the last successful sign-in with this passkey; `null` if it has never been used.
  - **`created_at`** _(string)_
    ISO-8601 UTC timestamp of registration.

## Code examples

### curl

```bash
curl -X GET 'https://api.truto.one/auth/passkey' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.truto.one/auth/passkey', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

url = "https://api.truto.one/auth/passkey"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.get(url, headers=headers, params=params)
print(response.json())
```
