telnyx-account-management-javascript_skill

This skill provides JavaScript Telnyx account management examples to manage sub-accounts for resellers and enterprises.
  • Python

1.4k

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill telnyx-account-management-javascript

  • SKILL.md2.9 KB

Overview

This skill manages Telnyx sub-accounts for reseller and enterprise workflows using JavaScript SDK examples. It helps list, create, retrieve, update, enable/disable, and adjust outbound channel allocations for managed accounts. Examples assume an initialized Telnyx client and focus on common account lifecycle tasks.

How this skill works

The skill wraps Telnyx Managed Accounts API calls in concise JavaScript snippets using the official telnyx package. It shows paginated listing, account creation, retrieval, patch updates, enable/disable actions, and channel allocation endpoints. Each example demonstrates the client call and how to access response data for integration into billing, provisioning, or admin dashboards.

When to use it

  • Provision new reseller or customer sub-accounts programmatically
  • Automate on/offboarding by enabling or disabling accounts
  • Integrate account listing into an admin UI with automatic pagination
  • Adjust or audit outbound channel limits for traffic management
  • Fetch account details for billing, support, or compliance workflows

Best practices

  • Initialize Telnyx client once and reuse across your service to reduce overhead
  • Validate required fields (e.g., business_name) before calling create to prevent API errors
  • Handle pagination with async iteration for large account lists to avoid memory spikes
  • Wrap enable/disable actions in audit logs and confirmations to prevent accidental service disruption
  • Use scoped error handling for each API call and surface meaningful messages to operators

Example use cases

  • Create a managed account during new customer signup and store returned id in your database
  • List all managed accounts in an operator portal with async pagination for real-time status
  • Disable a managed account when non-payment or abuse is detected, then re-enable after remediation
  • Patch account metadata after KYC or business updates without recreating resources
  • Query allocatable global outbound channels to decide channel assignments during provisioning

FAQ

Yes. Install the official telnyx npm package and initialize a client with your TELNYX_API_KEY before running the examples.

What required fields are needed to create a managed account?

The primary required field shown is business_name; validate and include any additional fields your workflow requires.

How do I handle many managed accounts when listing?

Use the async iterator pattern shown (for await ... of client.managedAccounts.list()) to automatically fetch pages and process items incrementally.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational