Skip to main content
Demo numbers are fine for prototyping, but production traffic should use numbers you own through your own VoIP provider. This guide walks you through the three-step flow: test credentials → create connection → import numbers → verify.
The dashboard has a guided version of this whole flow under Connections → VoIP (/dashboard/voip-connections): a Telnyx guided setup that walks account creation and API keys, a connect-existing-account path, and a manual SIP form with an AI setup-guide generator.

Supported providers

1. Test credentials

Before you create a persisted VoIP connection, probe the provider credentials to confirm they work. This returns a verification_evidence_id that you pass to the create step so the credentials aren’t double-charged for testing.
Response
If any check fails, response status will be fail and checks will show which step blew up. Fix the provider-side config (trunk assignment, IP allowlist, outbound authorization) and retry.

2. Create the connection

Pass the verification_evidence_id you just got:
The response is a VoipConnection object in status="connected". Credentials are stored server-side and never returned in plain text by subsequent GETs — to rotate, run a fresh test and PATCH with the new evidence.

3. List and import numbers

Inspect the numbers visible to your credentials that aren’t already in a ThunderPhone org:
Then import the ones you want:
Each import becomes a phone number resource in your org with source="voip" and status="provisioning".

4. Verify each imported number

Importing registers the number as available; actually routing calls through it needs a round-trip verification (inbound dial-in check + outbound authorization probe).
On success, voip_verification_status flips to verified and the number enters status="active". On failure, the response spells out what failed — fix it (often a missing trunk assignment in the provider dashboard) and call again.

5. Assign agents and take a call

With the number verified, you assign inbound / outbound agents the same way as a demo number. See Handle inbound calls and Place outbound calls.

Rotating credentials

When a provider key rotates, re-run the test-then-update flow:
The connection stays in place — no need to re-import numbers.

Next steps

VoIP connections reference

Every field on the connection, evidence, and import responses.

Phone numbers reference

Assign agents, transfer between orgs, release numbers.

Place outbound calls

Now that you own the number, start placing outbound.