Linkbreakers SDKJava

Linkbreakers Java SDK

Add QR code tracking and link management to your Java enterprise applications and Android apps. Maven and Gradle support with full Spring Boot compatibility.

Maven CentralGitHubv1.0.0com.linkbreakers:linkbreakers-java
Install via Maven / Gradle
One command
Open source
GitHub
API coverage
Complete

Why use the Java SDK

Integrate Linkbreakers into your Java stack with type-safe, production-ready methods.

Full API coverage

Every Linkbreakers dashboard feature is available through the SDK — links, workflows, QR codes, analytics, domains, and visitor tracking.

Type-safe and documented

Generated from the OpenAPI specification with full type definitions, IDE autocomplete, and inline documentation.

Production-ready

Built-in error handling, retry logic support, and authentication management. Open source on GitHub with active maintenance.

Quick start

Install the SDK, authenticate, and make your first API call.

Install
Maven / Gradle
<dependency>
  <groupId>com.linkbreakers</groupId>
  <artifactId>linkbreakers-java</artifactId>
  <version>1.0.0</version>
</dependency>
Create a tracked link
import com.linkbreakers.client.*;
import com.linkbreakers.client.api.*;
import com.linkbreakers.client.model.*;

ApiClient client = Configuration.getDefaultApiClient();
client.setBasePath("https://api.linkbreakers.com");
client.setBearerToken(System.getenv("LINKBREAKERS_SECRET_KEY"));

LinksApi api = new LinksApi(client);

CreateLinkRequest request = new CreateLinkRequest()
    .destination("https://example.com")
    .name("Campaign Link")
    .tags(Arrays.asList("marketing"));

CreateLinkResponse response = api.linksServiceCreate(request);
System.out.println("Short URL: " + response.getLink().getShortlink());
List links with filtering
ListLinksResponse links = api.linksServiceList()
    .pageSize(20)
    .execute();

for (Link link : links.getLinks()) {
    System.out.printf("%s: %s%n",
        link.getName(), link.getShortlink());
}
Gradle dependency
implementation 'com.linkbreakers:linkbreakers-java:1.0.0'

Common use cases

What teams build with the Linkbreakers Java SDK.

Spring Boot enterprise applications

Android mobile apps

Enterprise integrations and batch processing

Part of the Linkbreakers developer ecosystem

The Java SDK is one of five official SDKs. Linkbreakers also offers an MCP server for AI assistants and a CLI for terminal workflows.

Ready to build with the Java SDK?

Sign up for Linkbreakers, create an API token, and start integrating in minutes.

Create your workspace