Java · Integration

Add E-Signatures to Spring Boot

Send documents for legally binding e-signature from your Spring Boot application. One endpoint, no SDK required.

Quick start

  1. Get an API key from signb.ee (free, no credit card)
  2. Set SIGNBEE_API_KEY in your environment
  3. Add the code below to your app

Spring Boot example

Java
@RestController
public class ContractController {
    private final RestTemplate rest = new RestTemplate();

    @PostMapping("/send-contract")
    public ResponseEntity<String> send(@RequestBody Map<String, String> body) {
        HttpHeaders headers = new HttpHeaders();
        headers.set("Authorization", "Bearer " + System.getenv("SIGNBEE_API_KEY"));
        headers.setContentType(MediaType.APPLICATION_JSON);

        HttpEntity<Map<String, String>> entity = new HttpEntity<>(body, headers);
        ResponseEntity<String> response = rest.postForEntity(
            "https://signb.ee/api/send", entity, String.class);
        return response;
    }
}

What happens

  1. Your app sends markdown or a PDF URL to Signbee
  2. Signbee generates a PDF (if markdown) and emails the recipient a signing link
  3. Recipient signs — both parties receive the signed PDF with SHA-256 certificate

Also works with AI agents

Install the MCP server to let Claude, Cursor, or Windsurf send documents directly:

npx -y signbee-mcp

Related resources

Try Signbee — free, no credit card.