Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 3.28 KB

README.md

File metadata and controls

52 lines (34 loc) · 3.28 KB

Telnyx Java Getting Started

Telnyx

Sample application demonstrating Java SDK Basics

Documentation & Tutorial

The full documentation and tutorial is available on developers.telnyx.com

Pre-Reqs

You will need to set up:

Demos

Demo Description
sparkjava-demo-enterprise-integration A spark-java server that proxies requests to/from Telnyx with some higher level application logic
spring-messaging-auto-response Using Spring to auto-respond to various inbound messages
spring-phonenumber-search-and-order Search and order phone numbers via an API
spring-masked-calling Proxy/Mask calls and texts from user-A to user-B through Telnyx Call Control and Messaging

Usage

The following environmental variables need to be set for most demos in this repo

Variable Description
TELNYX_API_KEY Your Telnyx API Key
TELNYX_PUBLIC_KEY Your Telnyx Public Key
TELNYX_APP_PORT Defaults to 8000 The port the app will be served

.env file

This app uses the excellent dotenv-java package to manage environment variables.

Make a copy of .env.sample and save as .env and update the variables to match your creds.

TELNYX_API_KEY=
TELNYX_PUBLIC_KEY=
TENYX_APP_PORT=8000