Skip to main content

Quickstart for Telnyx networking

In this guide, you’ll learn how to get started with Telnyx Networks using the Telnyx API and the curl command.

Step 1: Telnyx account setup

To follow the steps in this guide, you'll need a Telnyx account. Signing up takes less than a minute!

Step 2: Development environment setup

Check out the Development Environment Setup guide to acquire your API Key.

You can paste the below snippets into your Terminal on Mac and Linux computers. Windows users should install bash on Windows or use the Windows Subsystem for Linux .

Step 3: Create a network

curl -X POST \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "Authorization: Bearer YOUR_API_KEY" \
--data '{
}' \

Example Response

"data": {
"updated_at": "2022-06-13T08:14:05.169462Z",
"id": "7c3c05f4-7d53-4edb-9224-371c6d659cd4",
"name": "test_network01",
"created_at": "2022-06-13T08:14:05.169462Z",
"record_type": "network"

Don’t forget to update YOUR_API_KEY in each of these commands.

Where to next?

Congratulations! You've created a Network. Now you can start attaching interfaces to that network to connect peers like SIM cards, office locations, or remote employees across our private backbone for low latency and highly secure communications. Explore our full API reference for more details on endpoints related to Telnyx Networking products.

Add Cloud VPN Interfaces to your Network

Telnyx Cloud VPN Interfaces connect your apps, devices and services to the Telnyx backbone and each other via WireGuard VPN tunnels within your network.

Learn how to set up a connection between a Cloud VPN server running in the Telnyx network and your Mac or your Digital Ocean Ubuntu Server.

On this page