Skip to content

Sequences & Templates

Templates

Reusable email templates with variable substitution via syntax.

GET /api/templates

List all templates.

Auth: Required
Query params: product, limit


GET /api/templates/:id

Get a template.

Auth: Required


POST /api/templates

Create a template.

Auth: Required
Body:

json
{
  "name": "Initial outreach — Studios",
  "subject": "Quick question, {{first_name}}",
  "body": "Hi {{first_name}},\n\nI came across {{company_name}} and ...",
  "product": "studios",
  "variables": ["first_name", "company_name", "industry"]
}

PATCH /api/templates/:id

Update template fields: name, subject, body, product, variables.

Auth: Required


POST /api/templates/:id/preview

Preview a template with sample variable values.

Auth: Required
Body:

json
{
  "variables": {
    "first_name": "Jane",
    "company_name": "Acme Corp",
    "industry": "fintech"
  }
}

Response:

json
{
  "ok": true,
  "data": {
    "subject": "Quick question, Jane",
    "body": "Hi Jane,\n\nI came across Acme Corp and ..."
  }
}

ICP Profiles & Prospect Lists

POST /api/icp-profiles

Create an Ideal Customer Profile for campaign targeting.

Auth: Required
Body:

json
{
  "name": "Mid-market SaaS CTO",
  "product": "studios",
  "criteria": {
    "industries": ["saas", "fintech"],
    "employee_range": [50, 500],
    "titles": ["CTO", "VP Engineering", "Head of Engineering"],
    "excluded_domains": ["competitor.com"]
  },
  "scoring_weights": {
    "industry": 30,
    "title": 40,
    "size": 30
  }
}

GET /api/icp-profiles

List ICP profiles.

Auth: Required


GET /api/icp-profiles/:id

Get a profile.

Auth: Required


PATCH /api/icp-profiles/:id

Update ICP profile fields.

Auth: Required


POST /api/prospect-lists

Build a prospect list from CRM contacts matching an ICP.

Auth: Required
Body:

json
{
  "icp_profile_id": "icp_a1b2",
  "name": "Q2 Outbound Targets",
  "filters": {
    "min_score": 70,
    "product": "studios",
    "exclude_existing_clients": true
  }
}

Response: List ID + count of matched prospects.


GET /api/prospect-lists

List all prospect lists.

Auth: Required

Sprint Mode LLC — Internal Platform Documentation