Skip to main content
POST
/
goals
/
{studentId}
/
courses
Create an atomic course goal
curl --request POST \
  --url https://api.alpha-1edtech.ai/goals/{studentId}/courses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "courseId": "<string>",
  "target": {
    "metric": "xp",
    "value": "<string>"
  },
  "pacing": {
    "mode": "target_date",
    "endDate": "<string>"
  }
}
'
{
  "course": {
    "course": {
      "id": "<string>",
      "title": "<string>",
      "subject": "<string>"
    },
    "goal": {
      "id": "<string>",
      "status": "active",
      "target": {
        "metric": "xp",
        "value": "<string>"
      },
      "pacing": {
        "mode": "target_date",
        "endDate": "<string>"
      }
    },
    "progress": {
      "courseId": "<string>",
      "courseTitle": "<string>",
      "pctComplete": 123,
      "pctCompleteApp": 123,
      "pctCompleteLessons": 123,
      "pctCompleteXP": 123,
      "totalXP": 123,
      "earnedXP": 123,
      "remainingXP": 123,
      "totalUnits": 123,
      "completedUnits": 123,
      "remainingUnits": 123,
      "totalLessons": 123,
      "completedLessons": 123,
      "remainingLessons": 123
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.timeback.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

studentId
string
required

Student sourcedId

Body

application/json
courseId
string
required

Tracked enrolled course identifier

target
object
required
pacing
object

Response

Course goal created

course
object
required