Returns the currently active training program template. Returns null in the data field if no template is active.
GET
Response
200application/jsonActive template or null
200application/json
Active template or null
401
401
500
500
curl --request GET \
--url 'https://dashboard.researchanddesire.com/api/v1/dtt/templates/active' \{
"ok": true,
"data": {
"id": 1,
"name": "Beginner Program",
"isActive": true,
"Segment": [
{
"id": 1,
"type": "warmup",
"duration": 60
}
]
}
}