Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Java SDK for Telnyx Voice call control: making/receiving calls, transfers, bridging, DTMF gathering, audio streaming, webhook events.
18% 91%+73 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 4 of 22 without it.
I am starting a new Java application that will integrate with Telnyx Voice. What is the Maven dependency XML snippet for importing the official Telnyx Java SDK, and how do I initialize TelnyxClient from environment variables?
Specifies Maven artifact com.telnyx.sdk:telnyx:6.89.0.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
<!-- Maven -->
<dependency>
<groupId>com.telnyx.sdk</groupId>
<artifactId>telnyx</artifactId>
<version>6.95.0</version>
</dependency>
// Gradle
implementation("com.telnyx.sdk:telnyx:6.95.0")
import com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
// fromEnv() reads TELNYX_API_KEY and TELNYX_PUBLIC_KEY (the public key is required for
// client.webhooks().unwrap() — webhook verification)
TelnyxClient client = TelnyxOkHttpClient.fromEnv();
All examples below assume client is already initialized as shown above.
All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:
import com.telnyx.sdk.models.calls.CallDialParams;
import com.telnyx.sdk.models.calls.CallDialResponse;
import com.telnyx.sdk.errors.TelnyxServiceException;
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.