Call each function by its full path. A question mark marks an optional field.
Set includePracticeSchedule: true to request a schedule placement. For act, pass a JSON-encoded learner command, for example JSON.stringify({ action: "remind", occurrenceId, enabled: true }).
mobile/v1/programs:act
{
expectedTenantId?: string
command: string
}Response type
{
saved: true
}mobile/v1/programs:mine
{
expectedTenantId?: string
includeWebPlacement?: true
includePracticeSchedule?: true
}Response type
{
programs: {
standings: Array<{
seasonId: string
title: string
timeZone: string
choices: Array<{
id: string
title: string
}>
groupId: string | null
weekly: Array<{
title: string
members: number
score: number
rank: number
own: boolean
}>
season: Array<{
title: string
members: number
score: number
rank: number
own: boolean
}>
weeklyLeaders: Array<string>
closed: boolean
}>
tenantId: string
ratings: Array<{
skillId: string
name: string
}>
streak: {
count: number
period: "day" | "week"
timeZone: string
remaining: number
canPause: boolean
} | null
goals: Array<{
id: string
title: string
kind: "achievement" | "challenge"
event: "activity" | "firstAnswer" | "practice"
target: number
count: number
rarity: string
points: number
credits: number
earnedAt: number | null
pinned: boolean
endsAt: number | null
season: string | null
}>
seasons: Array<{
id: string
title: string
startsAt: number
endsAt: number
timeZone: string
}>
practices: Array<{
checkInAudience?: "class" | "workspace"
exercise?: {
kind: "scenario"
title: string
graph: {
start: string
steps: Array<{
id: string
prompt: string
choices: Array<{
id: string
label: string
feedback: string
destination: {
kind: "step"
stepId: string
} | {
kind: "end"
outcome: "complete" | "retry"
message: string
}
}>
}>
}
} | {
kind: "check_in"
title: string
prompt: string
} | {
kind: "quiz"
title: string
questions: Array<{
id: string
prompt: string
options: Array<{
id: string
label: string
}>
}>
passPercent: number
}
result?: {
scorePercent: number | null
passed: boolean
}
skillId?: string
id: string
title: string
category: string
assigned: boolean
startsAt: number
endsAt: number | null
timeZone: string
body: string | null
course: {
id: string
enrollmentId: string
complete: boolean
activityId?: string
activityTitle?: string
} | null
completed: boolean
reminder: boolean
}>
recognition: {
points: number
credits: number
level: string | null
next: {
name: string
threshold: number
} | null
history: Array<{
id: string
reason: string
points: number
credits: number
at: number
}>
} | null
rewards: Array<{
id: string
title: string
cost: number
stock: number
kind?: "standard" | "sponsor" | "seasonal" | "give_back"
season?: string | null
}>
redemptions: Array<{
id: string
title: string
status: "pending" | "fulfilled"
cost: number
kind?: "standard" | "sponsor" | "seasonal" | "give_back"
season?: string | null
}>
}
terminology: {
profile: string
community: string
groups: string
messages: string
home: string
library: string
directory: string
discussions: string
progressPoint: string
progressPoints: string
rewardCredit: string
practiceItem: string
practiceItems: string
progress: string
levels: string
streaks: string
streakPauses: string
practice: string
scheduledPractice: string
challenges: string
seasons: string
skills: string
achievements: string
rewardCredits: string
rewardsCatalog: string
}
webPlacement?: string
practicePlacement?: string
}