Import Anki Flashcards
Import flashcards from an Anki .apkg file
Imports flashcards from an Anki deck package (.apkg) and stores them in the specified folder
POST
Body
multipart/form-data
Anki .apkg file containing the flashcards
JWT authentication token
Example:
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySUQiOiIxMjM0NSJ9.abc123..."
Name for the new flashcard set
Example:
"Spanish Vocabulary"
Folder path to store the flashcards (empty string for root)
Example:
"Languages/Spanish"
Optional description for the flashcard set
Example:
"Imported from Anki deck"
Term field name (e.g., "Front") or index (0-based integer)
Example:
"Front"
Definition field name (e.g., "Back") or index (0-based integer)
Example:
"Back"
Whether to remove HTML tags from fields ("true" or "false" as string)
Example:
"true"
Response
200
application/json
Successfully imported flashcards
ID of the created flashcard set
Example:
"987654321"