@kody/kit
Call Kit subscribers, forms, tags, broadcasts, and sequences with dry-run mutations.
OtherTopics: kit, convertkit, email, subscribers, forms, tags, broadcast, sequence, newsletter, oauth, api-key, dry-run
- Version
- 1.0.0
- License
- MIT
- Published
- September 10, 2026
- Pinned commit
048e0d8- Rating
- No ratings yet
- Forks
- 0
- Adaptation effort
- —
README
Agent docs@kody/kit
community-icon.svg is Kit's official wordmark from
kit.com/brand on Kit bright blue #44B1FF. Kit® is a
trademark of Kit. This package is not affiliated with or endorsed by Kit.
Share this package as https://kody.codes/@kody/kit
(never a /community/{listing_id} URL).
Intent
Reusable Kit (ConvertKit) helpers so Kody agents can list and update the
caller's subscribers, forms, tags, broadcast drafts, and sequences. Reads are
free-form. Mutations support dryRun: true and require confirm: true.
Broadcast helpers are draft-only and never send or schedule.
This listing is meant to be forked. After you fork, connect your Kit account. No form ids, list names, sender addresses, or templates are baked in.
What it does
- List, get, or upsert subscribers and manage tags
- List forms or add a subscriber to a form id the caller provides
- Create or update draft broadcasts (send from the Kit UI)
- Create sequences and enroll subscribers after confirmation
- Verify credentials with a smoke test before any write
Prerequisites / setup
Kit has no built-in Kody OAuth app. Choose one lane:
| Lane | When to use | Credential |
|---|---|---|
| API key (recommended for personal automation) | Own-account scripts | User secret kitApiKey (or kitApiKey-<purpose>) sent as X-Kit-Api-Key |
| OAuth | Kit App Store apps, refresh tokens, multi-account | Saved integration kit or kit-<purpose> |
Required API host: api.kit.com. Approve it in the account secrets UI.
Saving a secret does not approve hosts by itself. Never paste keys into chat.
Lane A — v4 API key
- Create a v4 key at Developer settings
- Save it (do not paste the value in chat):
- Approve host
api.kit.com
Lane B — BYO OAuth
- Create a Kit app and turn on API access: https://developers.kit.com/kit-app-store/building-apps#creating-your-app
- Set the redirect URI exactly to
https://kody.codes/connect/oauth - Connect while signed in to Kody:
- Paste the Kit client id and client secret into the Kody wizard (never into chat)
- Reconnect later with https://kody.codes/connect/oauth?provider=kit
OAuth authorize URL: https://api.kit.com/v4/oauth/authorize. Token URL:
https://api.kit.com/v4/oauth/token. Default scope is public.
To connect a second account, change provider (for example provider=kit-work)
and pass account: 'work' or integrationName: 'kit-work' /
secretName: 'kitApiKey-work' on every call.
Agents: see AGENTS.md for import paths, smoke checks, and
mutation guards.
Done when
kitApiKeyis saved or OAuthkitis connected; hostapi.kit.comis approved- Smoke test returns
ok: true(live account sample when credentials exist) - Broadcast helpers only create/update drafts; sends stay in the Kit UI
- Live writes refuse unless
confirm: true;dryRun: truenever contacts Kit
Jobs
account-health calls ./scheduled-account-health weekly (Monday 09:00 UTC).
It is enabled: false. Enabling it is an operator choice after you fork
and confirm the read is right for your account.
Report this listing
Log in to report this listing.