Skip to main content
GET
/
client
/
academy
/
lesson-submissions
Get Lesson Submissions
curl --request GET \
  --url https://api.doshi.app/client/academy/lesson-submissions \
  --header 'Authorization: Bearer <token>'
{
  "submissions": [
    {
      "id": "<string>",
      "lessonId": "<string>",
      "userId": "<string>",
      "isCompleted": true,
      "earnedDosh": 123,
      "earnedXP": 123,
      "createdAt": "2023-11-07T05:31:56Z",
      "correctAnswers": 123,
      "totalQuestions": 123,
      "pathId": "<string>",
      "levelId": "<string>",
      "completedQuestionIds": [
        "<string>"
      ],
      "rightAnsweredQuestionIds": [
        "<string>"
      ],
      "rewardedQuestionIds": [
        "<string>"
      ],
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Authorizations

Authorization
string
header
required

Authentication token (API Key) provided by Doshi. Your server's IP address must be whitelisted to use this API. Contact [email protected] to whitelist your IPs.

Query Parameters

levelId
string
pathId
string
lessonId
string

Response

A list of lesson submissions.

submissions
object[]
required
total
integer
required