Create account
Create account
API Documentation
Account
- Create account
- Sign in
Card management
- Create flashcard
- Create folder
- Get all cards
- Get flashcard
- Get flashcard item
- Get today cards
- Move flashcard set
- Search
- Import flashcard
- Import from quizlet
- Import Anki Flashcards
Goals
- Create card goal
- Create xp goal
- Edit card goal
- Create xp goal
- Update goal status
- Delete goal
Statistics
- Calculate streak
- Get heatmap
- Update heatmap
Create account
Create account
Create a new user account.
POST
/
create-account
curl --request POST \
--url http://dolphinflashcards.com/api/create-account \
--header 'Content-Type: application/json' \
--data '{
"userID": "user1",
"displayName": "sampleName",
"rawAccessToken": "test",
"accessToken": "duh32*£dh",
"idToken": "eu26bdj7s..."
}'
{
"success": true,
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
Body
application/json
Response
200
application/json
Sign-in successful, returns a JWT token
The response is of type object
.
curl --request POST \
--url http://dolphinflashcards.com/api/create-account \
--header 'Content-Type: application/json' \
--data '{
"userID": "user1",
"displayName": "sampleName",
"rawAccessToken": "test",
"accessToken": "duh32*£dh",
"idToken": "eu26bdj7s..."
}'
{
"success": true,
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}