You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 4, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,13 @@ const result = await invoke('deckNames', 6);
156
156
console.log(`got list of decks: ${result}`);
157
157
```
158
158
159
+
### Authentication
160
+
161
+
Anki-Connect supports requiring authentication in order to make API requests.
162
+
This support is *disabled* by default, but can be enabled by setting the `apiKey` field of Anki-Config's settings (Tools->Add-ons->AnkiConnect->Config) to a desired string.
163
+
If you have done so, you should see the [`requestPermission`](#requestpermission) API request return `true` for `requireApiKey`.
164
+
You then must include an additional parameter called `key` in any further API request bodies, whose value must match the configured API key.
165
+
159
166
### Hey, could you add a new action to support $FEATURE?
160
167
161
168
The primary goal for Anki-Connect was to support real-time flash card creation from the
0 commit comments