Sequences

List sequence templates

Changed on

Lists the ready-made sequence templates the dashboard offers, including push-first journeys for mobile apps. Filtered to the company's category (websiteType on the company) by default, with templates built for that category first and general ones after. Requires sequences:read.

get/sequences/templates

Request

  • Base URL
    https://api.sequenzy.com/api/v1
  • Auth
    HTTP bearer

Query parameters

websiteType'company' | 'all' | 'saas' | 'content' | 'ecommerce' | 'offline' | 'mobile_app' | 'other'

company uses the company's own category, all lists every template. Other values return 400.

Response

Templates for the category

successboolean
websiteTypestring nullable

Category the list was filtered to; null when unfiltered.

Example response

{
  "success": true,
  "websiteType": "mobile_app",
  "templates": [
    {
      "id": "mobile-trial-conversion",
      "name": "Trial to Paid",
      "category": "Revenue",
      "trigger": {
        "eventName": "saas.trial_started"
      },
      "quietHours": {
        "startTime": "09:00",
        "endTime": "21:00"
      },
      "goal": {
        "eventName": "saas.purchase",
        "valuePropertyName": "amount"
      }
    }
  ]
}

Changes