Returns the currently active training program template. Returns null in the data field if no template is active.
cURL
curl --request GET \ --url https://dashboard.researchanddesire.com/api/v1/dtt/templates/active \ --header 'Authorization: Bearer <token>'
200
activeTemplate
{ "ok": true, "data": { "id": 1, "name": "Beginner Program", "isActive": true, "Segment": [ { "id": 1, "type": "warmup", "duration": 60 } ] } }
API tokens can be created in the Dashboard settings. Requires an Ultra subscription.
Active template or null
Show child attributes
Message when no active template
Was this page helpful?
Contact support