api-campaign-builder

api-campaign-builder is a skill for Claude Code, Codex from sendx/email-skills. It costs 21 tokens per session (3,091 once invoked), scanned A, original, MIT.

A skill for creating, scheduling, sending, and monitoring HTML email campaigns through the SendX REST API, which lets programs manage SendX over web requests.

In plain words
What is it for?
Use it to create campaigns, choose senders and lists, submit messages for approval or sending, schedule delivery, and check their status.
Why use it?
It supplies the required request format, authentication, identifiers, and scheduling choices so campaigns can be managed consistently through code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create campaigns, choose senders and lists, submit messages for approval or sending, schedule delivery, and check their status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sendx/email-skills/api-campaign-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sendx/email-skills --skill api-campaign-builder
Clone the repo
git clone --depth 1 https://github.com/sendx/email-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-campaign-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/sendx/email-skills/api-campaign-builder/github.svg)](https://agentmods.dev/skills/sendx/email-skills/api-campaign-builder)
Your own site
<a href="https://agentmods.dev/skills/sendx/email-skills/api-campaign-builder"><img src="https://agentmods.dev/badge/skills/sendx/email-skills/api-campaign-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-campaign-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/sendx/email-skills/api-campaign-builder"><img src="https://agentmods.dev/badge/skills/sendx/email-skills/api-campaign-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,091 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.03091
Opus 5.5 $0.00008 $0.01236
Sonnet 5.5 $0.00004 $0.00618
Haiku 4.5 $0.00002 $0.00309

Measured 1mo ago against content hash a13cfc165c4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

api-campaign-builder scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://api.sendx.io/api/v1/rest/sender \
skills/api-campaign-builder/SKILL.md · 367 lines

How it starts

The opening of the file, as written. The whole thing — 367 lines — stays where its author put it; the contents beside it link to each section on GitHub.

API Campaign Builder

What you do

You help developers and technical marketers use the SendX API to create HTML email campaigns, schedule them for review or immediate sending, and monitor delivery. You translate marketing goals into working API calls — with correct authentication, entity references, and scheduling logic.

When to activate

  • "How do I create a campaign via the API?"
  • "I need to schedule an email through SendX's API"
  • "Set up a campaign that goes to my approval queue first"
  • "Send an HTML email to a list using the API"
  • "How do I check if my campaign was sent?"
  • "Create a campaign but don't send it yet"
  • Any request involving SendX REST endpoints for campaigns, senders, or templates

Your expertise

Authentication

Every request needs your team API key in the header:

X-Team-ApiKey: YOUR_API_KEY

Base URL: https://api.sendx.io/api/v1/rest

All requests use Content-Type: application/json.


Entity ID prefixes

SendX IDs follow a predictable pattern. Always use the full prefixed ID:

Entity Prefix Example
Campaign campaign_ campaign_abc123def456
Sender sender_ sender_xyz789ghi012
List list_ list_mno345pqr678
Tag tag_ tag_stu901vwx234
Template template_ template_yza567bcd890
Segment segment_ segment_efg123hij456

The campaign creation workflow

Follow this order every time:

1. Create or fetch a Sender
2. Create or fetch a Template (optional — you can inline HTML)
3. Create the Campaign (with targeting + schedule settings)
4. Check status via Report endpoint

Step 1 — Sender

Create a sender:

curl -X POST https://api.sendx.io/api/v1/rest/sender \
  -H "X-Team-ApiKey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Marketing Team",
    "email": "[email protected]",
    "replyTo": "[email protected]"
  }'

Read the full file on GitHub · 367 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 367 lines · 21 tokens per session scan A a13cfc165c4d

Subscribe to this mod's changes

api-campaign-builder is a skill published in the GitHub repository sendx/email-skills (10 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 3,091 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

email-marketing-bible

Email marketing operating manual for AI agents, with hard send-safety gates. Use when someone plans, writes, designs, audits or sends an email campaign, newsletter, welcome series, abandoned-cart, post-purchase or win-back flow; builds a list or segment; drives Klaviyo, Mailchimp, Brevo, Kit or any ESP through MCP, an…

CosmoBlk/email-marketing-bible · 195 tokens

Infrastructure Drift Detection

Detecting and testing infrastructure drift between desired state and actual state using automated scanning, alerting, and remediation patterns.

PramodDutta/qaskills · 27 tokens

catalyst-center-readonly

Query Cisco Catalyst Center read-only — device inventory, site hierarchy, wireless, assurance health, compliance, software images, events. All 514 read-only API operations reachable through 8 grouped dispatchers. Use when asked what Catalyst Center manages, where a device sits, what its health or compliance state is…

automateyournetwork/netclaw · 78 tokens

legal-issue-research

A systematic research assistant for Chinese law. It searches laws, regulations, judicial interpretations, guiding cases, and typical cases, then organizes the legal sources and how they relate.

ThomasMoreAI/legal-skills-open · 448 tokens

yuandian-law-search

A search tool for Chinese legal provisions and court cases using the Yuandian open platform. It archives search results locally for later review.

ThomasMoreAI/legal-skills-open · 41 tokens

recht-familie-momarcode1

Austrian family law analysis — divorce (EheG), alimony/maintenance (Unterhalt), child custody (Obsorge), contact rights (Kontaktrecht), child support (Kindesunterhalt), prenuptial agreements, division of marital property (§§81-98 EheG), and paternity.

ThomasMoreAI/legal-skills-open · 72 tokens