Passkeys
Passkeys for your WebsitePublisher account: Touch ID, Face ID, Windows Hello or a hardware security key (YubiKey). Account-scoped: acts on the signed-in user, whichever project you call it on. Flow: status -> start-registration (returns a link) -> the owner opens the link, confirms with a code sent to their account e-mail (first passkey) or with an existing passkey, and creates the passkey there. The first passkey comes with one-time recovery codes, shown on that page only. rename and revoke manage existing passkeys; removing the last passkey and creating new recovery codes return approval_required with a link the owner approves with their passkey. set-config switches on a passkey at every new AI connection (enforce_on_connect) and passkey approval of sensitive actions (approval_enabled, see the action_approval integration). Nothing is completed through this API alone.
Try it with your AI assistant
Once WebsitePublisher is connected to your AI assistant, paste one of these into the chat. Replace the parts in [brackets] with your own details.
@WebsitePublisher add a passkey to my account so I can sign in with Touch ID or my YubiKey@WebsitePublisher show my passkeys and how many recovery codes I have left@WebsitePublisher remove the passkey of my old [device] and rename my new one to [name]With WebsitePublisher, add a passkey to my account so I can sign in with Touch ID or my YubiKeyWith WebsitePublisher, show my passkeys and how many recovery codes I have leftWith WebsitePublisher, remove the passkey of my old [device] and rename my new one to [name]With WebsitePublisher, add a passkey to my account so I can sign in with Touch ID or my YubiKeyWith WebsitePublisher, show my passkeys and how many recovery codes I have leftWith WebsitePublisher, remove the passkey of my old [device] and rename my new one to [name]Endpoints (7)
Passkeys of the account (id, name, type, synced or device-bound, created, last used), how many recovery codes are left and the passkey settings. Never returns keys or codes.
No input parameters required.
Start adding a passkey. Returns a link (valid 15 minutes) for the owner: they confirm with a code sent to the account e-mail (first passkey) or with an existing passkey or recovery code, then create the passkey in their browser. Give the owner the url; do not open it yourself.
No input parameters required.
Rename a passkey so the owner recognises it (e.g. "MacBook Touch ID", "YubiKey blue").
| Field | Type | Required | Description |
|---|---|---|---|
id |
integer | ✓ Yes | Passkey id from status. |
name |
string | ✓ Yes | New name, max 64 characters. |
Remove a passkey (lost or replaced device). The owner gets a mail. Removing the LAST passkey returns approval_required with a link: the owner approves on that page with the passkey or a recovery code.
| Field | Type | Required | Description |
|---|---|---|---|
id |
integer | ✓ Yes | Passkey id from status. |
New recovery codes (the old unused ones stop working). Returns approval_required with a link: the owner approves with a passkey and sees the new codes on that page, once. The codes never come back through this API.
No input parameters required.
The last 50 security events of the account: passkeys added, renamed or removed, codes sent, recovery codes used, failed attempts.
No input parameters required.
Change the passkey settings of the account. enforce_on_connect: true = every new AI connection (MCP, ChatGPT, Claude) needs the passkey; AI assistants connected before stop working over MCP until they reconnect once with the passkey. approval_enabled: true = actions in the tier map need the passkey (T1: one touch opens a window of window_hours for that AI connection; T2: a touch for each call). tier_map: your overrides of the default tiers, as {"action": "T0|T1|T2"}; it replaces your previous overrides, the defaults stay. t2_require_device_bound: true = the strongest approvals only accept a device-bound key such as a YubiKey. pending_ttl_minutes: how long an approval link stays valid. Switching protection ON or a stricter value applies at once; switching it OFF, a longer window or pending time, or a lower tier returns approval_required with a link the owner approves with a passkey.
| Field | Type | Required | Description |
|---|---|---|---|
enforce_on_connect |
boolean | No | Require the passkey for every new AI connection. |
approval_enabled |
boolean | No | Require the passkey for the actions in the tier map. |
window_hours |
integer | No | Hours a T1 approval window stays open for one AI connection (1 to 8). |
tier_map |
object | No | Overrides of the default tiers, e.g. {"delete_page": "T2", "execute_integration:stripe.create-refund": "T2"}. Replaces earlier overrides. |
t2_require_device_bound |
boolean | No | Strongest approvals only with a device-bound key (YubiKey). |
pending_ttl_minutes |
integer | No | Minutes an approval link stays valid (5 to 1440). |
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| status | passkeys_status |
| start-registration | passkeys_start_registration |
| rename | passkeys_rename |
| revoke | passkeys_revoke |
| regenerate-recovery | passkeys_regenerate_recovery |
| audit | passkeys_audit |
| set-config | passkeys_set_config |
Website