Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Telesign Full-service Java SDK

Telesign connects, protects, and defends the customer experience with intelligence from billions of digital interactions and mobile signals. Through developer-friendly APIs that deliver user verification, digital identity, and omnichannel communications, we help the world's largest brands secure onboarding, maintain account integrity, prevent fraud, and streamline omnichannel engagement.


  • JDK 7+
  • (Optional) Gradle This package manager isn't required to use this SDK, but it is required to use the installation instructions below.
  • (Optional) Kotlin This domain-specific langage (DSL) isn't required to use this SDK, but it is required to use the installation instructions below. These installation steps rely on using Kotlin as your DSL for the build script in the Gradle project. Some steps need to be adapted if you are using Groovy as your DSL.


These instructions are for MacOS. They will need to be adapted if you are installing on Windows.


Follow these steps to add this SDK as a dependency to your project.

  1. Create a new directory to download the Telesign SDK. This should not be in the same directory as where you build your integration.
    cd ~/code/local
    mkdir telesign_sdks
    cd telesign_sdks
  1. Clone this repo. A new directory should appear called java_telesign_enterprise:

    git clone

  2. Create another directory (this must be outside of the SDK directory you just created) where you want to create your Telesign integration. Skip this step if you already have created a project. If you plan to create multiple Java projects that use Telesign, we recommend that you group them within a telesign_integrations directory.

    cd ~/code/local
    mkdir telesign_integrations
    cd telesign_integrations
    mkdir {your project name}
    cd {your project name}
  1. Create a new Gradle project.

    gradle init

  2. Select the following options at each of the prompts that appear at the command line.

  • Select type of project to generate: 2: application
  • Select implementation language: 3: Java
  • Split functionality across multiple subprojects?: 1: no - only one application project
  • Select build script DSL: 2: Kotlin
  • Generate build using new APIs and behavior: yes
  • Select test framework: {your preferred test framework}
  • Project name (default: {default project name}): {your project name}
  • Source package (default: {default source package name}): {your source package name}

You should then see a message that indicates the build was successful.

  1. Enter the top-level directory of your project and copy all the .java source files from the Telesign Full-service Java SDK into your project:

    cp -r ~/code/local/telesign_sdks/java_telesign_enterprise/src/main/java/com app/src/main/java/

  2. Add the following dependencies to the dependencies block in the file "app/build.gradle.kts" in your project:

    implementation ("com.squareup.okio:okio:2.9.0")

The last of these statements imports the Telesign Self-service SDK. This is needed because the Telesign Full-service SDK also uses some functionality in the Self-service SDK.


If you use a Telesign SDK to make your request, authentication is handled behind-the-scenes for you. All you need to provide is your Customer ID and API Key. The SDKs apply Digest authentication whenever they make a request to a Telesign service where it is supported. When Digest authentication is not supported, the SDKs apply Basic authentication.

What's next

  • Learn to send a request to Telesign with code with one of our tutorials.
  • Browse our Developer Portal for tutorials, how-to guides, reference content, and more.
  • Check out our sample code on GitHub.


The Telesign Java SDK lets you easily integrate with our REST API.







No packages published