GET
/
get-quests
curl --request GET \
  --url http://dolphinflashcards.com/api/get-quests \
  --header 'Content-Type: application/json' \
  --data '{
  "jwtToken": "<string>"
}'
{
  "quests": [
    {
      "quest_id": "<string>",
      "title": "<string>",
      "deadline": "2023-11-07T05:31:56Z",
      "quest_type": "<string>",
      "quest_sub_type": "<string>",
      "quantity": 123,
      "progress": 123,
      "participants": [
        {
          "user_id": "<string>",
          "status": "<string>",
          "progress": 123,
          "isOwner": true,
          "invited_by": "<string>"
        }
      ]
    }
  ]
}

Query Parameters

questType
enum<string>

Filter by quest type.

Available options:
cards_revised,
xp_gained,
time_spent
questSubType
enum<string>

Filter by quest sub type.

Available options:
monthly,
friend
questStatus
enum<string>

Filter by quest status.

Available options:
active,
finished

Body

application/json

Response

200
application/json

List of quests for the user and their participants.

The response is of type object.