POST
/
import-from-quizlet
curl --request POST \
  --url http://dolphinflashcards.com/api/import-from-quizlet \
  --header 'Content-Type: application/json' \
  --data '{
  "jwtToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImtpZCI6ImEzMmZkZDRiMTQ2Njc3NzE5YWIyMzcyODYxYmRlZDg5In0.eyJpc3MiOiJodHRwOi8vZG9scGhpbmZsYXNoY2FyZHMuY29tIiwiYXVkIjoiYXBpIiwic3ViIjoidU5RR2lIencxdk9EaExybTVDRWtaQ1ZoTU93MSIsImFjY2Vzc190b2tlbiI6IjRiZTA2NDNmLTFkOTgtNTczYi05N2NkLWNhOThhNjUzNDdkZCIsImFjY2Vzc190b2tlbl9yYXciOiJ0ZXN0IiwiaWF0IjoxNzI2Nzc0MTYzfQ.F-fxFitPQF-gGHyhGPGxE_zj_b8XJybqe4J_iYG66BC4Dqm4LTb8RpcDLyYUhRCcpphihpWGbdp",
  "folder": "top-level-parent-name/parent-name-2/parent-name-3",
  "flashcards": "term1:definition1\\nterm2:definition2",
  "term_def_separator": ",",
  "term_separator": "\\n",
  "flashcard_name": "<string>"
}'
{
  "success": "<string>",
  "flashcard_id": "<string>",
  "flashcard_name": "<string>",
  "card_count": 123
}

Body

application/json
jwtToken
string
required

Authentication token.

Example:

"eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiIsImtpZCI6ImEzMmZkZDRiMTQ2Njc3NzE5YWIyMzcyODYxYmRlZDg5In0.eyJpc3MiOiJodHRwOi8vZG9scGhpbmZsYXNoY2FyZHMuY29tIiwiYXVkIjoiYXBpIiwic3ViIjoidU5RR2lIencxdk9EaExybTVDRWtaQ1ZoTU93MSIsImFjY2Vzc190b2tlbiI6IjRiZTA2NDNmLTFkOTgtNTczYi05N2NkLWNhOThhNjUzNDdkZCIsImFjY2Vzc190b2tlbl9yYXciOiJ0ZXN0IiwiaWF0IjoxNzI2Nzc0MTYzfQ.F-fxFitPQF-gGHyhGPGxE_zj_b8XJybqe4J_iYG66BC4Dqm4LTb8RpcDLyYUhRCcpphihpWGbdp"

folder
string
required

The name of the folder containing the flashcard sets. Set to "" to set as a top level flashcard, otherwise set it to the parent folder name. If there are multiple parent folders, add the folder name seperated by /

Example:

"top-level-parent-name/parent-name-2/parent-name-3"

flashcards
string
required

Copied flashcard data from Quizlet

Example:

"term1:definition1\\nterm2:definition2"

term_def_separator
string
required

Separator between term and definition

Example:

","

term_separator
string
required

Separator between term-definition pairs

Example:

"\\n"

flashcard_name
string
required

Name of the flashcard set

Response

200
application/json
Flashcards imported successfully
success
string
flashcard_id
string
flashcard_name
string
card_count
integer