Create flashcard
Create flashcard
Create or edit a flashcard set for a user. Flashcards contain front, back, review status, and last review date properties.
POST
/
create-flashcard
Body
application/json
userID
string
requiredThe unique ID of the user editing or creating flashcards.
flashcardName
string
requiredThe name of the flashcard set.
flashcardDescription
string
requiredThe description of the flashcard set
folder
string
requiredThe 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 numeric figures.
cards
object[]
requiredA list of flashcards. Each flashcard object has front
, back
, review status
, and last review
properties.
Response
200 - application/json
200
integer
HTTP status code indicating a successful operation.
success
boolean
Indicates that a new flashcard was created successfully.