RAD Developer Docs
DTT Templates

Activate DTT template

Activates a training program template by ID. Only one template can be active at a time. If your schedule type is "auto" or "weekly", it will be switched to "single" mode. All other templates (owned and imported) will be deactivated.

POST
/
dtt
/
templates
/
{id}

Authorizations

Authorizationstringheaderrequired

API tokens can be created in the Dashboard settings. Requires an Ultra subscription.

Path Parameters

idintegerpathrequired

The DTT template (training program) ID

Required range: x ≥ 1

Example: 1

Body

application/json
isActivebooleanrequired

Must be true to activate

Response

200application/json

Template activated

okbooleanrequired
datavaluerequired
Show child attributes
idinteger

Template ID

bubbleIdstring

Unique public identifier

ownerIdinteger

Owner user ID

namestring

Program name

descriptionstring

Program description

taglinestring

Short tagline

messagestring

Welcome message

isPublicboolean

Whether publicly visible

isActiveboolean

Whether currently active

handsFreeModeboolean

Hands-free mode enabled

targetDepthinteger

Target depth percentage

targetWindowinteger

Target window size

toyIdinteger | null

Associated toy ID

createdDatestring<date-time>

Creation date

updatedAtstring<date-time>

Last update time

Segmentobject[]
Show child attributes
idinteger
typeenum

Segment type

Allowed values: repetitionendurancefreeformbounce

durationinteger

Duration (meaning varies by type)

speedinteger

Speed setting (1–1000)

repeatinteger

Number of times to repeat

orderinteger

Position in the segment list (0-based)

passFailEnabledboolean

Whether pass/fail grading is enabled

passGradeThresholdinteger

Minimum grade to pass (0–100)

failureTextstring | null

Message shown on failure

scheduleTypeChangedboolean

Whether schedule type was changed to single

400application/json

Invalid request

okbooleanrequired
errorstringrequired
401application/json

Authentication required or token invalid

okbooleanrequired
errorstringrequired
404application/json

Template not found or not owned

okbooleanrequired
errorstringrequired