Skip to main content
GET
/
dtt
/
templates
/
active
Get active DTT template
curl --request GET \
  --url https://dashboard.researchanddesire.com/api/v1/dtt/templates/active \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "id": 1,
    "name": "Beginner Program",
    "isActive": true,
    "Segment": [
      {
        "id": 1,
        "type": "warmup",
        "duration": 60
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Response

Active template or null

ok
boolean
required
data
object
message
string

Message when no active template