Mobile API v1

Learning preferences

Read and update notification, playback, caption and time zone preferences.

On this page

Call each function by its full path. A question mark marks an optional field.

On v1.5 and later, pass includeShowCaptions: true to receive the optional caption preference. An omitted preference preserves device defaults.

mobile/v1/preferences:get

query · Arguments
{
  expectedTenantId?: string
  includeShowCaptions?: boolean
}
Response type
Result
{
  digestFrequency: "off" | "daily" | "weekly"
  videoAutoplay: boolean
  showCaptions?: boolean
  instantFeedback: boolean
  instantMessages: boolean
  timezone: string | null
}

mobile/v1/preferences:set

mutation · Arguments
{
  expectedTenantId?: string
  includeShowCaptions?: boolean
  digestFrequency?: "off" | "daily" | "weekly"
  videoAutoplay?: boolean
  showCaptions?: boolean
  instantFeedback?: boolean
  instantMessages?: boolean
  timezone?: string
}
Response type
Result
{
  digestFrequency: "off" | "daily" | "weekly"
  videoAutoplay: boolean
  showCaptions?: boolean
  instantFeedback: boolean
  instantMessages: boolean
  timezone: string | null
}

All API modules · OpenRPC 1.3.2 JSON