You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Official Java SDK (dev.senddock on Maven Central) #103
Teams on the JVM integrate SendDock by hand-writing HttpClient calls, with no types, no unified error handling and no webhook verification. The code-examples page already shows how much boilerplate that takes in Java.
Proposal
An official Java SDK, published to Maven Central under the dev.senddock group, matching the TypeScript SDK's surface:
A SendDock client built with baseUrl, projectId and apiKey, exposing send, sendBatch, broadcast, importSubscribers, stats, and a Webhooks.verifySignature helper.
Immutable request/response types (records), a single SendDockException carrying status and the API's message, Retry-After-aware retries on 429/5xx, configurable timeout, Java 17+ on java.net.http.HttpClient with no third-party runtime dependencies beyond a JSON library (Jackson as the default, kept behind a small interface).
Tests covering the same matrix as senddock-js, CI on GitHub Actions, signed releases to Maven Central.
Lives in its own repository (senddock-java) with README quickstart and a docs page under /api/sdk-java.
Acceptance
Repository with client, types, exception, webhook helper and tests
Artifact published to Maven Central with a signed release pipeline
Docs page mirroring the TypeScript SDK page, linked from the API sidebar and the code-examples page
Activity