Get active DTT template
Returns the currently active training program template. Returns null in the data field if no template is active.
Authorizations
AuthorizationstringheaderrequiredAPI tokens can be created in the Dashboard settings. Requires an Ultra subscription.
Response
200application/jsonActive template or null
Active template or null
okbooleanrequireddatavalueShow child attributes
idintegerTemplate ID
bubbleIdstringUnique public identifier
ownerIdintegerOwner user ID
namestringProgram name
descriptionstringProgram description
taglinestringShort tagline
messagestringWelcome message
isPublicbooleanWhether publicly visible
isActivebooleanWhether currently active
handsFreeModebooleanHands-free mode enabled
targetDepthintegerTarget depth percentage
targetWindowintegerTarget window size
toyIdinteger | nullAssociated toy ID
createdDatestring<date-time>Creation date
updatedAtstring<date-time>Last update time
Segmentobject[]Show child attributes
idintegertypeenumSegment type
Allowed values: repetitionendurancefreeformbounce
durationintegerDuration (meaning varies by type)
speedintegerSpeed setting (1–1000)
repeatintegerNumber of times to repeat
orderintegerPosition in the segment list (0-based)
passFailEnabledbooleanWhether pass/fail grading is enabled
passGradeThresholdintegerMinimum grade to pass (0–100)
failureTextstring | nullMessage shown on failure
messagestringMessage when no active template
401application/jsonAuthentication required or token invalid
Authentication required or token invalid
okbooleanrequirederrorstringrequired500application/jsonInternal server error
Internal server error
okbooleanrequirederrorstringrequired