Skip to content

Add tags, general settings, overview and test sends to the SDK - #203

Merged
s3rot0n1n merged 1 commit into
mainfrom
feat/sdk-tags-settings-overview
Nov 15, 2026
Merged

s3rot0n1n merged 1 commit into
mainfrom
feat/sdk-tags-settings-overview

Conversation

@clbotdev

Copy link
Copy Markdown
Contributor

CourseLit is moving from its hand-written SendLit client to the sendlit SDK. Everything it calls is already in the SDK except these, so they're added here first.

What's new

  • sendlit.tags: list, references, rename, remove. Tag names are free text, so they're URL-encoded like contacts.removeTag.
  • sendlit.settings.general: get, update (the mailing address broadcasts and sequences need before they send).
  • sendlit.overview.get: the dashboard numbers, with an optional rangeDays.
  • sendlit.sequences.sendEmailTest(sequenceId, emailId, { to }).

Each one wraps the existing contract route, so request and response types come from @sendlit/api-contract. Types are exported (Tag, TagReferences, GeneralSettings, Overview, SequenceEmailTestResult, ...). The README's resource table lists the new methods. A minor changeset bumps sendlit.

Tests

resources.test.ts checks the method, path, query and body of every new call. 86 pass; tsc --noEmit and biome are clean.

Platforms that build on SendLit (CourseLit first) still call these endpoints
by hand: listing, renaming and deleting tags with their references, reading
and setting the mailing address, the dashboard overview, and sending a test
of a broadcast or sequence email.
@s3rot0n1n
s3rot0n1n merged commit 87697dd into main Nov 15, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants