Skip to content
On this page

Java SDK

Coming soon. The Java SDK is currently in development.

For now, use the REST API directly:

java
HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://api.aegis-dig.com/v1/verify/cpf"))
    .header("Authorization", "Bearer " + apiKey)
    .header("Content-Type", "application/json")
    .POST(HttpRequest.BodyPublishers.ofString(
        "{\"cpf\": \"12345678901\"}"
    ))
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());

Track progress at GitHub.

Released under the MIT License.