canonical: https://jentic.com/apis/sequenzy.com/sequenzy

# Sequenzy API

The Sequenzy API runs email marketing and lifecycle automation: it stores subscribers, tags them, records their events, enrolls them in automated sequences, and sends campaigns and transactional email. Sequences can be created, enabled, paused, simulated for a subscriber, and inspected enrollment by enrollment, while campaigns can be rendered, checked, test-sent, scheduled with send-time options, and resent to non-openers. Metrics cover aggregate, per-email, per-campaign, and per-sequence engagement, and the surface extends to segments, signup forms and popups, suppressions, warehouse syncs, and data exports.

## For AI agents

Add and tag subscribers, trigger events that drive automated sequences, send transactional email, schedule campaigns, and read campaign and sequence metrics.

## Scope

Does not handle CRM deal tracking, payment processing, or ad buying. Use for subscriber email automation, campaigns, and transactional email only.

## Capabilities

- Create or update a subscriber by email or externalId with tags, lists, customAttributes, and enrollInSequences
- Trigger a named event with properties for a subscriber so event-driven sequences react to it
- Send a transactional email by template slug or templateId with variables, cc, bcc, and an Idempotency-Key header
- Enroll subscribers in a sequence, simulate the path a subscriber would take, and cancel or move enrollments
- Render, check, test-send, and schedule a campaign with a scheduledAt time and optional sendInRecipientTimezone
- Read engagement through aggregated metrics, per-email metrics, and per-campaign or per-sequence events
- Build segments and get a live segment count before targeting a send

## Use cases

### AI Agent Lifecycle Email Through Jentic

A product agent connected through Jentic can keep Sequenzy in step with what users do in the app, without anyone hand-wiring the bearer key. It searches by intent, receives triggerEvent or createSubscriber with its input schema, and sends the event name and properties for the right subscriber. Sequenzy's event-driven sequences then take over the follow-up emails.

Example prompt: Search Jentic for 'trigger an event for a subscriber', load triggerEvent, and call it with email 'dana@example.com', event 'trial_started', and properties {plan: 'pro'}

### Transactional Email From Templates

Receipts, password resets, and alerts need to go out immediately with per-user values. The transactional send operation takes the recipient in to, a template slug or templateId, and variables to fill it, and accepts an Idempotency-Key header so a retried request does not send twice. Transactional metrics by idOrSlug then show how that template performs.

Example prompt: Call POST `/transactional/send` with to 'sam@example.com', slug 'password-reset', variables {resetUrl: 'https://example.com/reset/abc'}, and an Idempotency-Key header

### Sequence Enrollment and Debugging

Automated sequences fail quietly when a subscriber is stuck or on the wrong branch. Sequenzy lets an agent list enrollments for a sequence filtered by status or currentNodeId, simulate the sequence for one subscriber, and move enrollments from one node to another with a dryRun first. Pausing and resuming enrollments gives a safe stop while a fix goes in.

Example prompt: Call GET `/sequences/{sequenceId}/enrollments` with status 'active' and currentNodeId set to the stuck step, then POST `/sequences/{sequenceId}/enrollments/move` with fromNodeId, targetNodeId, and dryRun true

### Campaign Scheduling and Reporting

Marketing sends benefit from a check before they go out and a read-back after. The agent renders a campaign, runs the pre-send check, sends a test to a teammate, and schedules it with scheduledAt and options such as sendTimeOptimization or maxRecipients. Campaign metrics and events afterwards report engagement, and a resend to non-openers is one call.

Example prompt: Call POST `/campaigns/{campaignId}/check`, then POST `/campaigns/{campaignId}/test` with to ['lead@example.com'], then POST `/campaigns/{campaignId}/schedule` with scheduledAt '2026-12-01T09:00:00Z'

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/subscribers` | Create or update a subscriber |
| POST | `/subscribers/events` | Trigger an event for a subscriber |
| POST | `/transactional/send` | Send transactional or marketing email |
| POST | `/sequences/{sequenceId}/enroll` | Enroll subscribers in a sequence |
| GET | `/sequences/{sequenceId}/simulate` | Simulate a sequence |
| POST | `/campaigns/{campaignId}/schedule` | Schedule a campaign |
| GET | `/metrics/campaigns/{campaignId}` | Get campaign metrics |
| GET | `/segments/{segmentId}/count` | Get segment count |

## Key resources

- **Subscribers** — Create, update, look up, tag, annotate, import, and delete subscribers
- **Events** — Trigger single, bulk, or imported subscriber events
- **Sequences** — Build, enable, simulate, enroll, and inspect automated email sequences
- **Campaigns** — Create, render, check, test, schedule, pause, and resend campaigns
- **Transactional** — Manage transactional templates and send transactional email
- **Metrics** — Aggregate, per-email, campaign, sequence, and recipient engagement
- **Segments** — Create segments and count their members

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 54 / 100
- **Maturity:** Foundational
- **Dimensions:**
  - Foundational Compliance: 47 / 100
  - Developer Experience & Jentic Compatibility: 70 / 100
  - AI-Readiness & Agent Experience: 50 / 100
  - Agent Usability: 43 / 100
  - Security: 60 / 100
  - AI Discoverability: 80 / 100
- **View full report:** https://jentic.com/apis/sequenzy.com/sequenzy/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Sequenzy API by hand means sending its bearer key, choosing between its two server paths, sending an Idempotency-Key on transactional sends, and finding the right call in a very large surface yourself. Through Jentic you install once, import Sequenzy from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Sequenzy puts the sequenceId and campaignId in the URL path, so a rule can pin your agent to one sequence or one campaign and the operations you pick. You choose the operations it may call, so destructive ones like deleteSubscriber or deleteSequence are not included unless you add them.
- **Credential handling:** Your Sequenzy key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'trigger an event for a subscriber' or 'schedule an email campaign', and Jentic returns the matching Sequenzy operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Loops API** — Email platform for SaaS with event-triggered loops and transactional email
- **Customer.io API** — Behavioural messaging across email, push, and SMS
- **MailerLite API** — Newsletter and automation email for small teams
- **Segment API** — Customer data pipeline for product events

## FAQ

### Is there a Sequenzy MCP server?

You don't need an MCP server to give your agent the Sequenzy API. Jentic connects it directly from the API Directory: import it, store your key once, and your agent finds the subscriber, sequence, and campaign operations by intent instead of loading a large tool list into its context.

### Can I limit what my agent is allowed to do with the Sequenzy API?

Yes. For a reporting assistant on one sequence, write a rule that allows only GET `/sequences/{sequenceId}/stats`, the enrollment list, and simulate for that sequence id. The agent can explain how the sequence is performing and where subscribers sit, but cannot enroll anyone, send email, or touch campaigns, and every call is logged by your self-hosted instance.

### What authentication does the Sequenzy API use?

Per its OpenAPI spec, the Sequenzy API uses an API key sent as a Bearer token in the Authorization header. A few public operations used by embedded signup forms and popups, such as form submission and the popup widget script, are declared without security. Through Jentic the key is stored encrypted by your own Jentic One instance and injected at call time.

### Can I send a transactional email with the Sequenzy API?

Yes. POST `/transactional/send` requires to and accepts a template slug or templateId with variables, or a subject and body directly, plus cc, bcc, from, and replyTo. Pass an Idempotency-Key header so a retried request does not send a duplicate.

### What are the rate limits for the Sequenzy API?

The OpenAPI spec does not state rate limits. Check https://www.sequenzy.com for the current limits on your plan.

### How do I add a subscriber and start a sequence through Jentic?

Search Jentic for 'add a subscriber to my email list' to get createSubscriber, then call it with email, tags, and enrollInSequences to start the sequences you name. To enroll an existing subscriber later, search for 'enroll a subscriber in a sequence' and call POST `/sequences/{sequenceId}/enroll` with emails. To run it on your own infrastructure, install Jentic One from its GitHub repo.
