0
Command reference
Belgeler ve kodlar aynı fikirde değilse koda güvenin.
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Belgeler ve kodlar aynı fikirde değilse koda güvenin.
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/skills/command-reference && curl -sL https://www.antrophiclove.com/api/kaynak/command-reference/raw -o .claude/skills/command-reference/SKILL.mdHedef dosya: .claude/skills/command-reference/SKILL.md
packages/cli/src/index.tsxpackages/cli/src/config.tspackages/cli/src/api.tspackages/cli/src/commands/If docs and code disagree, trust the code.
sequenzy login
POST /api/device-auth/initiatePOST /api/device-auth/poll${SEQUENZY_APP_URL}/setup/auth?code=... in the browserBun.secrets when available, otherwise in local configSet SEQUENZY_API_KEY in the environment. packages/cli/src/config.ts checks this before local storage, so it is the safest path for automation.
sequenzy whoami
sequenzy account
sequenzy logout
Behavior:
whoami prints cached local config onlyaccount: GET /api/v1/accountlogout removes locally stored authCaveat:
whoami as "is this machine authenticated?" rather than authoritative server-side account discoverySEQUENZY_API_KEY=...
SEQUENZY_API_URL=https://api.sequenzy.com
SEQUENZY_APP_URL=https://sequenzy.com
Notes:
SEQUENZY_API_KEY overrides local keychain/config stateSEQUENZY_APP_URL to https://sequenzy.com--company, which sends x-company-id for personal API keyssequenzy urls --company comp_123
sequenzy urls --company comp_123 --sequence seq_123
sequenzy urls --company comp_123 --campaign camp_123
sequenzy urls --company comp_123 --template tmpl_123
sequenzy urls --company comp_123 --settings-tab integrations
sequenzy urls --company comp_123 --json
Behavior:
SEQUENZY_APP_URL as the base URL, defaulting to https://sequenzy.com--company is omitted, tries the current company from GET /api/v1/accounturl or appUrls fields when the company can be resolvedCommon route patterns:
/dashboard/company/{companyId}/sequences/{sequenceId}/dashboard/company/{companyId}/campaign/{campaignId}/dashboard/company/{companyId}/emails/{emailId}/dashboard/company/{companyId}/settings/dashboard/company/{companyId}/settings?tab={tab}sequenzy stats
sequenzy stats --period 30d
sequenzy stats --campaign camp_123
sequenzy stats --sequence seq_123
Behavior:
GET /api/v1/metrics?period=7d|30d|90d--campaign: GET /api/v1/metrics/campaigns/:id--sequence: GET /api/v1/metrics/sequences/:idOutput includes:
sentdeliveredopenedclickedunsubscribedopenRateclickRatesequenzy subscribers list
sequenzy subscribers list --tag vip
sequenzy subscribers list --list "Master List" --json
sequenzy subscribers list --segment seg_123
sequenzy subscribers list --limit 100
sequenzy subscribers list --tag vip --company comp_123 --json
Behavior:
GET /api/v1/subscribers--segment to segmentId--tag to tags--list to list; the API resolves list ID first, then exact list name--limit to limit--limit is omitted--company and --jsonsequenzy subscribers add user@example.com
sequenzy subscribers add user@example.com --tag premium --attr name=John --attr plan=pro
sequenzy subscribers add user@example.com --tag premium --tag beta --company comp_123 --json
Behavior:
POST /api/v1/subscribers{ email, tags, customAttributes }--tag values--company and --jsonsequenzy subscribers get user@example.com
sequenzy subscribers get user@example.com --company comp_123 --json
Behavior:
GET /api/v1/subscribers/:email--company and --jsonsequenzy subscribers remove user@example.com
sequenzy subscribers remove user@example.com --hard
sequenzy subscribers remove user@example.com --company comp_123 --json
Behavior:
--hard, sends PATCH /api/v1/subscribers/:email with { status: "unsubscribed" }--hard, sends DELETE /api/v1/subscribers/:email--company and --jsonsequenzy send user@example.com --template tmpl_123 --var name=John
sequenzy send user@example.com --subject "Hello" --html "<h1>Hi</h1>"
sequenzy send user@example.com --subject "Hello" --html-file ./email.html
Behavior:
POST /api/v1/transactional/send{ to, templateId, subject, html, variables }Validation enforced by the CLI:
--template or --html/--html-file--subject when sending raw HTMLsequenzy companies list
sequenzy companies get comp_123
sequenzy companies create example.com --name Example
Behavior:
companies list: GET /api/v1/companiescompanies get: GET /api/v1/companies/:idcompanies create: POST /api/v1/companiessequenzy lists list
sequenzy lists create Newsletter --description "Public newsletter list"
sequenzy lists create VIP --private --company comp_123
sequenzy lists add-subscribers list_123 --email one@example.com two@example.com
sequenzy lists add-subscribers list_123 --emails-json '["one@example.com","two@example.com"]'
sequenzy lists add-subscribers list_123 --emails-file ./batch-001.csv
sequenzy lists import list_123 --emails-file ./batch-001.csv
Behavior:
lists list: GET /api/v1/listslists create: POST /api/v1/lists{ name, description, isPrivate }lists add-subscribers and lists import: POST /api/v1/lists/:listId/subscribers{ emails, duplicateStrategy, enrollInSequences, optInMode }emails or subscribersemail, e-mail, email address, or mail are detected; otherwise the first column is usedsequenzy tags
sequenzy tags --company comp_123 --json
Behavior:
GET /api/v1/tagssequenzy segments list
sequenzy segments count seg_123
sequenzy segments create --name "Bought Pro" --stripe-product prod_pro
sequenzy segments create --name "3+ Pro Payments" --stripe-product prod_pro --purchase-operator at-least --payments 3
sequenzy segments create --name "VIP or Churn Risk" --match any --filter-json '[{"field":"tag","operator":"contains","value":"vip"},{"field":"emailOpened","operator":"is_not","value":"30d"}]'
sequenzy segments create --name "Active non-paying" --filter-json '{"kind":"group","id":"root","joinOperator":"and","children":[{"kind":"filter","id":"f1","field":"attribute","operator":"gte","value":"last_login_days_ago:0"},{"kind":"group","id":"g1","joinOperator":"or","children":[{"kind":"filter","id":"f2","field":"attribute","operator":"is_empty","value":"plan_end"},{"kind":"filter","id":"f3","field":"attribute","operator":"lt","value":"plan_end:2026-04-21"}]}]}'
Behavior:
segments list: GET /api/v1/segmentssegments count: GET /api/v1/segments/:id/countsegments create: POST /api/v1/segments--filter-json accepts either the legacy raw segment filter array or a nested filter root object--match all|any controls whether top-level filters are combined with and or orfilterJoinOperator: "and" | "or" for the same behavior{ "kind": "group", "joinOperator": "and" | "or", "children": [...] }field: "event" with values like saas.purchase:30d, saas.purchase:all, or saas.purchase:5:30dfield: "segment" with operator: "is" | "is_not" and the referenced segment id as valuefield: "stripeProduct" and product IDs, not product namesproductId:count, for example prod_pro:3sequenzy templates list
sequenzy templates list --label edm
sequenzy templates get tmpl_123
sequenzy templates create welcome --subject "Welcome" --label edm --html-file ./welcome.html
sequenzy templates create welcome --subject "Welcome" --blocks-file ./welcome-blocks.json
sequenzy templates update tmpl_123 --subject "Updated" --label edm --html-file ./welcome-v2.html
sequenzy templates update tmpl_123 --blocks-file ./welcome-v2-blocks.json
sequenzy templates delete tmpl_123
Behavior:
templates list: GET /api/v1/templates, optionally with ?label=...templates get: GET /api/v1/templates/:idtemplates create: POST /api/v1/templatestemplates update: PUT /api/v1/templates/:idtemplates delete: DELETE /api/v1/templates/:idCaveats:
--label <labels...> to filter by template label namename, subject, and either html or blocks; it can also assign labels with --label <labels...>name, subject, html, blocks, and replacement labels with --label <labels...>--blocks-json and --blocks-file pass Sequenzy block arrays through directlycondition objectsequenzy campaigns list
sequenzy campaigns list --status draft --label edm --company comp_123
sequenzy campaigns get camp_123
sequenzy campaigns create "April Launch" --prompt "Announce our new dashboard"
sequenzy campaigns create "April Launch" --subject "We shipped" --label edm --html-file ./campaign.html
sequenzy campaigns create "April Launch" --subject "We shipped" --blocks-file ./campaign-blocks.json
sequenzy campaigns update camp_123 --subject "Updated subject" --label edm
sequenzy campaigns update camp_123 --blocks-file ./campaign-v2-blocks.json
sequenzy campaigns update camp_123 --reply-to support@example.com
sequenzy campaigns update camp_123 --reply-profile reply_123
sequenzy campaigns schedule camp_123 --at "2026-06-01T14:00:00Z"
sequenzy campaigns schedule camp_123 --at "2026-06-01T14:00:00Z" --target-lists-json '{"type":"all"}'
sequenzy campaigns test camp_123 --to you@example.com
Behavior:
campaigns list: GET /api/v1/campaigns, optionally with ?status=... and ?label=...campaigns get: GET /api/v1/campaigns/:idcampaigns create: POST /api/v1/campaignscampaigns update: PUT /api/v1/campaigns/:idcampaigns schedule: POST /api/v1/campaigns/:id/schedulecampaigns test: POST /api/v1/campaigns/:id/testurl, campaign review previewUrl, and appUrls when the company can be resolvedCaveats:
--status and --label <labels...> filtersname, optional subject when --prompt is used, html, blocks, --prompt, --style, --tone, and labels with --label <labels...>name, subject, html, blocks, replacement labels with --label <labels...>, --reply-to, and --reply-profile--at <datetime> with a future ISO timestamp and a verified sending domain--target-lists-json or --target-lists-file; omit it to reuse saved targeting or default to all active subscribers--spread-over-hours accepts integers from 1 to 72 and takes precedence over send-time optimization--prompt generates draft campaign content through POST /api/v1/generate/email; do not combine it with HTML or block flags--blocks-json and --blocks-file pass Sequenzy block arrays through directlycondition rules--reply-to resolves an existing reply profile by email and --reply-profile sets it directly by ID--reply-to and --reply-profile are mutually exclusivecampaigns get now includes saved reply-to details when the campaign has a reply profilecampaigns test returns a success message path rather than a confirmed email sendMCP parity:
list_templates and list_campaigns accept labelcreate_template, update_template, create_campaign, and update_campaign accept labelsupdate_campaign accepts name, subject, html, blocks, labels, replyTo, and replyProfileIdschedule_campaign accepts campaignId, scheduledAt, optional targetLists, sendTimeOptimization, and spreadOverHoursreplyTo and replyProfileId are mutually exclusivesequenzy sequences list
sequenzy sequences get seq_123
sequenzy sequences create onboarding --trigger event_received --event-name signup.completed --goal "Guide new users to activation" --email-count 4
sequenzy sequences create onboarding --trigger contact_added --list-id list_123 --steps-file ./steps.json
sequenzy sequences create winback --trigger tag_added --tag-name cancelled --steps-file ./discount-steps.json
sequenzy sequences update seq_123 --steps-file ./sequence-updates.json
sequenzy sequences update seq_123 --branch-file ./branch.json
sequenzy sequences enable seq_123
sequenzy sequences disable seq_123
sequenzy sequences delete seq_123
sequenzy sequences cancel-enrollments seq_123 --subscriber-id sub_123 --reason "Converted"
sequenzy sequences cancel-enrollments seq_123 --field-path order.id --field-values ord_123,ord_456
sequenzy sequences cancel-enrollments seq_123 --field-values price_123 --apply
Behavior:
sequences list: GET /api/v1/sequencessequences get: GET /api/v1/sequences/:idsequences create: POST /api/v1/sequencessequences update: PUT /api/v1/sequences/:idsequences enable: POST /api/v1/sequences/:id/enablesequences disable: POST /api/v1/sequences/:id/disablesequences delete: DELETE /api/v1/sequences/:idsequences cancel-enrollments: POST /api/v1/sequences/:id/enrollments/cancelurl on sequence records and appUrls on the top-level JSON when the company can be resolvedCaveats:
--goal mode or explicit --steps-json / --steps-file mode{ "type": "create_discount" }; emails after that action can reference {{discount.code}}, {{discount.percentOff}}, and related discount.* merge tags--email-count is only meaningful with --goal--email-count accepts 1 to 10 generated emails--trigger--steps-* or --emails-*--branch-json or --branch-file with condition types has_tag, in_list, in_segment, event_received, link_clicked, and field_*tagId/tagName, listId, segmentId/segmentName, eventName, linkUrl, activityScope, or fieldName/fieldValue; omit linkUrl to match any clicked linkevent_received and link_clicked, set activityScope to this_sequence, previous_email, or ever; omitting it checks the contact's full historycancel-enrollments requires a sequence ID and exactly one target: --subscriber-id or --field-values--field-values matches active/waiting enrollments by the stored entry event property at --field-path, or the sequence's configured enrollmentFieldPath when --field-path is omitted--apply is passed; use dry runs for field-value/bulk checks before mutating enrollmentscancel_sequence_enrollments with the same target rule; set dryRun: false to apply field-value cancellationsequenzy generate email "Welcome a new user to our analytics product"
sequenzy generate email "Product launch announcement" --style branded --tone friendly
sequenzy generate sequence "Onboard a new workspace admin" --count 4 --days 14
sequenzy generate subjects "April product launch" --count 8
Behavior:
generate email: POST /api/v1/generate/emailgenerate sequence: POST /api/v1/generate/sequencegenerate subjects: POST /api/v1/generate/subjects--json returns the raw API response for agent/tool parsingCaveats:
generate sequence --count accepts 1 to 10 emailsgenerate email supports optional --style and --tonesequenzy api-keys create
sequenzy api-keys create --name "CI deploy key" --company comp_123
Behavior:
POST /api/v1/api-keys{ name }Caveat:
sequenzy websites list --company comp_123
sequenzy websites add example.com --company comp_123
sequenzy websites check example.com --company comp_123
sequenzy websites guide --framework nextjs --use-case transactional
Behavior:
websites list: GET /api/v1/websiteswebsites add: POST /api/v1/websiteswebsites check: GET /api/v1/websites/:domainwebsites guide: POST /api/v1/integration-guideTreat these requested workflows as unsupported in the CLI even though related nouns exist:
SEQUENZY_API_KEY for automation instead of interactive login--json when another tool or agent needs structured output; dashboard-aware commands add url/appUrls fields when possible