List the template library

The ready-made sequences a template can start from, with their steps. Pass an entry's key as library when creating a template.

GEThttps://app.trygtm.com/api/v1/templates/library
Scope
read

Query parameters

goalstringoptional
Only entries built for this goal. Omit for the whole library.start_conversationbook_meetingbook_demoevent_signupnurturereengage

Request

curl -G https://app.trygtm.com/api/v1/templates/library \
  -H "Authorization: Bearer $TRYGTM_API_KEY" \
  --data-urlencode "goal=book_meeting"

Response

{
  "data": [
    {
      "key": "email_classic",
      "name": "Classic email cadence",
      "description": "Four email touches over two weeks. Each follow-up brings a new angle and escalates the consequence, never the pressure.",
      "goal": "start_conversation",
      "channel": "email",
      "steps": [
        {
          "position": 1,
          "tract": null,
          "action": "email.send",
          "label": "First touch",
          "wait_amount": 0,
          "wait_unit": "days",
          "branch_condition": null
        }
      ]
    }
  ]
}

Was this page helpful?