Telnyx Voice
Connect Telnyx, buy and assign a phone number, and call CRM contacts from Leenops.
Telnyx is an optional bring-your-own-account voice provider for Leenops. A workspace can connect its Telnyx account, buy a number without leaving Leenops, assign that number to a team member, and make outbound browser calls from CRM.
Telnyx remains the owner and billing provider for every number and call. Leenops stores an encrypted connection, synchronized number inventory, user assignments, orders, and call history.
Searching is not a purchase. Leenops shows the recurring and one-time price before the Confirm purchase action, which submits a billable order to your Telnyx account.
What You Need
You must be a workspace owner or administrator, or have the relevant telephony provider and phone-number permissions.
Prepare these values from the Telnyx Mission Control Portal:
| Value | Required | Purpose |
|---|---|---|
| V2 API key | Yes | Verifies the account and manages numbers and WebRTC credentials |
| Credential Connection ID | Yes | Connects purchased numbers and browser callers to Telnyx |
| Ed25519 public key | Recommended | Verifies signed Telnyx webhook events |
| Default country code | Optional | Pre-fills number searches, for example BE |
| Requirement Group ID | When required | Connects regulatory documentation to a number order |
Do not paste any secret into chat, source code, a ticket, or a screenshot. Enter the API key only in the password field in Leenops.
Trial Account Limits
Telnyx trial limits can change. At the time this guide was verified:
- outbound calls can dial only the phone number verified in your Telnyx account;
- a trial account can order one local number in its country of origin;
- the number can be reclaimed if the account is not upgraded within 30 days;
- trial voice calls have concurrency, duration, hourly, and daily limits;
- a trial account can have only one API key at a time.
Verify your destination number in Telnyx before the first test call. See Telnyx trial privileges and limitations for the current rules.
1. Create the Telnyx API Key
- In Telnyx, open your account menu and choose API Keys.
- Select Create API Key.
- Give it a clear name, such as
Leenops test. - Choose an appropriate expiration policy.
- Create the key and save it securely.
Telnyx displays the complete key only once. If it is lost, create a replacement instead of trying to recover it. See Create and manage API keys.
2. Create a Credential Connection
Leenops browser calls use a Telnyx Credential Connection.
- In Telnyx, open Voice and create a credential-based connection.
- Make the connection active.
- Attach an outbound voice profile that permits the destinations you intend to call.
- Copy the connection ID.
The account API key and Credential Connection must belong to the same Telnyx account. The connection must support WebRTC calling. Telnyx's current configuration details are in the Credential Connection guide.
3. Find the Webhook Public Key
In Telnyx, open the account's keys and credentials area and copy the public key used for Ed25519 webhook verification. This is a public verification key, not your API key.
Leenops rejects an invalid signature and events with an old timestamp. Adding the correct public key is therefore required for trustworthy call-state updates.
4. Connect Telnyx in Leenops
- Go to Settings > Telephony & Messaging.
- Open the Providers tab.
- Select Add Provider.
- Choose Telnyx.
- Enter a display name and your API key.
- Enter the Credential connection ID.
- Enter the Webhook public key.
- Optionally enter a two-letter Default number country such as
BE. - If Telnyx gave you one for the intended number, enter the Requirement group ID.
- Enable Default voice provider if CRM calls should use Telnyx first.
- Select Connect provider.
Leenops verifies the API key against the specified Credential Connection before marking the provider connected. The API key is encrypted before it is stored and is never sent to a caller's browser.
5. Configure the Telnyx Webhook
After connecting, the Telnyx provider card shows a path like:
/api/webhooks/telnyx/<connection-id>Prefix it with your public Leenops domain:
https://your-leenops-domain.example/api/webhooks/telnyx/<connection-id>Set this as the primary webhook event URL on the same Telnyx Credential
Connection and use webhook API version 2. The URL must be publicly reachable
over HTTPS; localhost cannot receive Telnyx events.
6. Buy a Number
- In Settings > Telephony & Messaging, open Phone Numbers.
- Choose a two-letter country, number type, and optional city or locality.
- Select Search.
- Review the recurring monthly price and any one-time charge.
- Select Review purchase for the desired number.
- Optionally choose a member under Assign after activation.
- Select Confirm purchase only when you approve the displayed charge.
Search results are short-lived quotes. If a quote expires, search again instead of relying on its former price or availability.
Regulatory requirements
Some countries and number types require identity, business, address, or other documents. If an order shows requirements pending:
- Open the linked Telnyx number page.
- Complete the required documentation in Telnyx.
- Return to Leenops and select Refresh on the order.
A Requirement Group ID can be added to the provider connection when the order must use a group already prepared in Telnyx. See Telnyx Requirement Groups.
7. Assign the Number
Once a number appears under Owned Telnyx numbers:
- Open its member selector.
- Choose the person who should call from that number.
- Leave it as Not assigned if it should remain in workspace inventory.
The assignment becomes that user's outbound Telnyx caller number. A caller without an assigned number receives a prompt to buy or assign one before a browser call can start.
8. Call a CRM Contact
- Open a CRM contact or another record with click-to-call.
- Select a valid phone number.
- Allow microphone access if the browser asks.
- Use the voice dock to mute or end the call.
Leenops requests a short-lived Telnyx login token for the signed-in user. The browser never receives the workspace API key. Call progress is written to the provider-neutral Leenops call journal.
This release supports outbound Telnyx browser calling, mute, and hangup. Telnyx call transfer and persistent browser answering for inbound calls are not available yet.
Release a Number
Releasing a number is destructive:
- In Phone Numbers, find the owned number.
- Select its trash icon.
- Read the warning and select Release number only if you intend to return it to Telnyx.
The number may become permanently unavailable. It is removed from user assignment and can no longer be used for CRM calls.
Troubleshooting
| Problem | What to check |
|---|---|
| Connection verification fails | Confirm the V2 API key and Credential Connection ID belong to the same Telnyx account and the connection is active |
| No full number is shown in search | Trial accounts expose full numbers only for eligible local inventory in the account's country |
| Order is pending | Open Telnyx to complete regulatory requirements, then select Refresh |
| Browser says to buy or assign a number | Assign an active owned number to the signed-in Leenops user |
| Trial call is rejected | Verify the exact destination number in Telnyx and check trial call limits |
| No microphone audio | Allow microphone access for the Leenops domain and retry |
| Call state does not update | Confirm the full public HTTPS webhook URL, API version 2, and Ed25519 public key |
| Number or route is unavailable | Check Telnyx balance, outbound voice profile, country authorization, inventory, and local requirements |
Security and Billing
- Leenops encrypts the Telnyx API key in the workspace provider connection.
- Browser clients receive only short-lived, per-user WebRTC credentials.
- Signed webhooks are checked against the configured Ed25519 public key and a five-minute replay window.
- Telnyx bills the connected customer account directly. Leenops is not the merchant of record.
- Access to provider setup, number purchase, assignment, release, and calling is controlled by workspace telephony permissions.
Next Steps
- CRM Activities — Start calls and review customer activity
- Telnyx developer overview — Browse official Telnyx documentation
- Telnyx trial limits — Confirm current test-account restrictions

