cURL
curl --request POST \ --url http://dolphinflashcards.com/api/import-anki-flashcards \ --header 'Content-Type: multipart/form-data' \ --form jwtToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySUQiOiIxMjM0NSJ9.abc123... \ --form folder=Languages/Spanish \ --form 'flashcardName=Spanish Vocabulary' \ --form 'flashcardDescription=Imported from Anki deck' \ --form termField=Front \ --form definitionField=Back \ --form stripHtml=true \ --form file=@example-file
{ "flashcardID": "987654321" }
Imports flashcards from an Anki deck package (.apkg) and stores them in the specified folder
Successfully imported flashcards
The response is of type object.
object