The full documentation and tutorial is available on developers.telnyx.com
You will need to set up:
- Telnyx Account
- Ability to receive webhooks (with something like ngrok)
- Java installed
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 |
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 |
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