Skip to content

Official Java SDK (dev.senddock on Maven Central) #103

Open

Description

@JuansesDev

Problem

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
  • README of Core lists it next to the other SDKs

Activity

  1. added this to the 0.9 milestone on Aug 21, 2026
  2. added
    enhancement
    on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dxenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions