Telnyx Numbers Go logo

Telnyx Numbers Go

Organization
team-telnyx
telnyx-numbers-go

Search, order, and manage phone numbers by location, features, and coverage.

Overview

Publisherteam-telnyx
Repositoryai
Skill nametelnyx-numbers-go
Stars
217
Forks
21
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by team-telnyx on GitHub. Read the source before you install it.

Installation

Install the Telnyx Numbers Go AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/team-telnyx/ai.git /tmp/ai
mkdir -p .claude/skills
cp -r /tmp/ai/providers/claude/plugins/telnyx-numbers/skills/telnyx-numbers-go .claude/skills/telnyx-numbers-go
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Telnyx Numbers Go in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Telnyx Numbers Go on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Telnyx Numbers Go is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Telnyx Numbers - Go

Installation

bash
go get github.com/team-telnyx/telnyx-go

Setup

go
import (
  "context"
  "fmt"
  "os"

  "github.com/team-telnyx/telnyx-go"
  "github.com/team-telnyx/telnyx-go/option"
)

client := telnyx.NewClient(
  option.WithAPIKey(os.Getenv("TELNYX_API_KEY")),
)

All examples below assume client is already initialized as shown above.

Error Handling

All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:

go
import "errors"

availablePhoneNumbers, err := client.AvailablePhoneNumbers.List(context.Background(), telnyx.AvailablePhoneNumberListParams{})
if err != nil {
  var apiErr *telnyx.Error
  if errors.As(err, &apiErr) {
    switch apiErr.StatusCode {
    case 422:
      fmt.Println("Validation error — check required fields and formats")
    case 429:
      fmt.Println("Rate limited, retrying...")
    default:
      fmt.Printf("API error %d: %s\n", apiErr.StatusCode, apiErr.Error())
    }
  } else {
    fmt.Println("Network error — check connectivity and retry")
  }
}

Common error codes: 401 invalid API key, 403 insufficient permissions, 404 resource not found, 422 validation error (check field formats), 429 rate limited (retry with exponential backoff).

Important Notes

  • Phone numbers must be in E.164 format (e.g., +13125550001). Include the + prefix and country code. No spaces, dashes, or parentheses.
  • Pagination: Use ListAutoPaging() for automatic iteration: iter := client.Resource.ListAutoPaging(ctx, params); for iter.Next() { item := iter.Current() }.

Reference Use Rules

Do not invent Telnyx parameters, enums, response fields, or webhook fields.

Core Tasks

Search available phone numbers

Number search is the entrypoint for provisioning. Agents need the search method, key query filters, and the fields returned for candidate numbers.

client.AvailablePhoneNumbers.List()GET /available_phone_numbers

ParameterTypeRequiredDescription
FilterobjectNoConsolidated filter parameter (deepObject style).
go
	availablePhoneNumbers, err := client.AvailablePhoneNumbers.List(context.Background(), telnyx.AvailablePhoneNumberListParams{})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", availablePhoneNumbers.Data)

Response wrapper:

  • items: availablePhoneNumbers.data
  • pagination: availablePhoneNumbers.meta

Primary item fields:

  • PhoneNumber
  • RecordType
  • Quickship
  • Reservable
  • BestEffort
  • CostInformation

Create a number order

Number ordering is the production provisioning step after number selection.

client.NumberOrders.New()POST /number_orders

ParameterTypeRequiredDescription
PhoneNumbersarray[object]Yes
ConnectionIdstring (UUID)NoIdentifies the connection associated with this phone number.
MessagingProfileIdstring (UUID)NoIdentifies the messaging profile associated with the phone n...
BillingGroupIdstring (UUID)NoIdentifies the billing group associated with the phone numbe...
...+1 optional params in references/api-details.md
go
	numberOrder, err := client.NumberOrders.New(context.Background(), telnyx.NumberOrderNewParams{
		PhoneNumbers: []telnyx.NumberOrderNewParamsPhoneNumber{{PhoneNumber: "+18005550101"}},
	})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", numberOrder.Data)

Primary response fields:

  • numberOrder.Data.ID
  • numberOrder.Data.Status
  • numberOrder.Data.PhoneNumbersCount
  • numberOrder.Data.RequirementsMet
  • numberOrder.Data.MessagingProfileID
  • numberOrder.Data.ConnectionID

Check number order status

Order status determines whether provisioning completed or additional requirements are still blocking fulfillment.

client.NumberOrders.Get()GET /number_orders/{number_order_id}

ParameterTypeRequiredDescription
NumberOrderIdstring (UUID)YesThe number order ID.
go
	numberOrder, err := client.NumberOrders.Get(context.Background(), "number_order_id")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", numberOrder.Data)

Primary response fields:

  • numberOrder.Data.ID
  • numberOrder.Data.Status
  • numberOrder.Data.RequirementsMet
  • numberOrder.Data.PhoneNumbersCount
  • numberOrder.Data.PhoneNumbers
  • numberOrder.Data.ConnectionID

Important Supporting Operations

Use these when the core tasks above are close to your flow, but you need a common variation or follow-up step.

Create a number reservation

Create or provision an additional resource when the core tasks do not cover this flow.

client.NumberReservations.New()POST /number_reservations

ParameterTypeRequiredDescription
PhoneNumbersarray[object]Yes
Statusenum (pending, success, failure)NoThe status of the entire reservation.
Idstring (UUID)No
RecordTypestringNo
...+3 optional params in references/api-details.md
go
	numberReservation, err := client.NumberReservations.New(context.Background(), telnyx.NumberReservationNewParams{
		PhoneNumbers: []telnyx.NumberReservationNewParamsPhoneNumber{{PhoneNumber: "+18005550101"}},
	})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", numberReservation.Data)

Primary response fields:

  • numberReservation.Data.ID
  • numberReservation.Data.Status
  • numberReservation.Data.CreatedAt
  • numberReservation.Data.UpdatedAt
  • numberReservation.Data.CustomerReference
  • numberReservation.Data.Errors

Retrieve a number reservation

Fetch the current state before updating, deleting, or making control-flow decisions.

client.NumberReservations.Get()GET /number_reservations/{number_reservation_id}

ParameterTypeRequiredDescription
NumberReservationIdstring (UUID)YesThe number reservation ID.
go
	numberReservation, err := client.NumberReservations.Get(context.Background(), "number_reservation_id")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", numberReservation.Data)

Primary response fields:

  • numberReservation.Data.ID
  • numberReservation.Data.Status
  • numberReservation.Data.CreatedAt
  • numberReservation.Data.UpdatedAt
  • numberReservation.Data.CustomerReference
  • numberReservation.Data.Errors

List Advanced Orders

Inspect available resources or choose an existing resource before mutating it.

client.AdvancedOrders.List()GET /advanced_orders

go
	advancedOrders, err := client.AdvancedOrders.List(context.Background())
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", advancedOrders.Data)

Response wrapper:

  • items: advancedOrders.data

Primary item fields:

  • ID
  • Status
  • AreaCode
  • Comments
  • CountryCode
  • CustomerReference

Create Advanced Order

Create or provision an additional resource when the core tasks do not cover this flow.

client.AdvancedOrders.New()POST /advanced_orders

ParameterTypeRequiredDescription
PhoneNumberTypeenum (local, mobile, toll_free, shared_cost, national, ...)No
RequirementGroupIdstring (UUID)NoThe ID of the requirement group to associate with this advan...
CountryCodestring (ISO 3166-1 alpha-2)No
...+5 optional params in references/api-details.md
go
	advancedOrder, err := client.AdvancedOrders.New(context.Background(), telnyx.AdvancedOrderNewParams{
		AdvancedOrder: telnyx.AdvancedOrderParam{},
	})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", advancedOrder.ID)

Primary response fields:

  • advancedOrder.ID
  • advancedOrder.Status
  • advancedOrder.AreaCode
  • advancedOrder.Comments
  • advancedOrder.CountryCode
  • advancedOrder.CustomerReference

Update Advanced Order

Modify an existing resource without recreating it.

client.AdvancedOrders.UpdateRequirementGroup()PATCH /advanced_orders/{advanced-order-id}/requirement_group

ParameterTypeRequiredDescription
Advanced-order-idstring (UUID)YesUnique identifier of the advanced order.
PhoneNumberTypeenum (local, mobile, toll_free, shared_cost, national, ...)No
RequirementGroupIdstring (UUID)NoThe ID of the requirement group to associate with this advan...
CountryCodestring (ISO 3166-1 alpha-2)No
...+5 optional params in references/api-details.md
go
	response, err := client.AdvancedOrders.UpdateRequirementGroup(
		context.Background(),
		"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
		telnyx.AdvancedOrderUpdateRequirementGroupParams{
			AdvancedOrder: telnyx.AdvancedOrderParam{},
		},
	)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", response.ID)

Primary response fields:

  • response.ID
  • response.Status
  • response.AreaCode
  • response.Comments
  • response.CountryCode
  • response.CustomerReference

Get Advanced Order

Fetch the current state before updating, deleting, or making control-flow decisions.

client.AdvancedOrders.Get()GET /advanced_orders/{order_id}

ParameterTypeRequiredDescription
OrderIdstring (UUID)YesUnique identifier of the order.
go
	advancedOrder, err := client.AdvancedOrders.Get(context.Background(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", advancedOrder.ID)

Primary response fields:

  • advancedOrder.ID
  • advancedOrder.Status
  • advancedOrder.AreaCode
  • advancedOrder.Comments
  • advancedOrder.CountryCode
  • advancedOrder.CustomerReference

List available phone number blocks

Inspect available resources or choose an existing resource before mutating it.

client.AvailablePhoneNumberBlocks.List()GET /available_phone_number_blocks

ParameterTypeRequiredDescription
FilterobjectNoConsolidated filter parameter (deepObject style).
go
	availablePhoneNumberBlocks, err := client.AvailablePhoneNumberBlocks.List(context.Background(), telnyx.AvailablePhoneNumberBlockListParams{})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", availablePhoneNumberBlocks.Data)

Response wrapper:

  • items: availablePhoneNumberBlocks.data
  • pagination: availablePhoneNumberBlocks.meta

Primary item fields:

  • PhoneNumber
  • CostInformation
  • Features
  • Range
  • RecordType
  • RegionInformation

Retrieve all comments

Inspect available resources or choose an existing resource before mutating it.

client.Comments.List()GET /comments

ParameterTypeRequiredDescription
FilterobjectNoConsolidated filter parameter (deepObject style).
go
	comments, err := client.Comments.List(context.Background(), telnyx.CommentListParams{})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%+v\n", comments.Data)

Response wrapper:

  • items: comments.data
  • pagination: comments.meta

Primary item fields:

  • ID
  • Body
  • CreatedAt
  • UpdatedAt
  • CommentRecordID
  • CommentRecordType

Additional Operations

Use the core tasks above first. The operations below are indexed here with exact SDK methods and required params; use references/api-details.md for full optional params, response schemas, and lower-frequency webhook payloads. Before using any operation below, read the optional-parameters section and the response-schemas section so you do not guess missing fields.

OperationSDK methodEndpointUse whenRequired params
Create a commentclient.Comments.New()POST /commentsCreate or provision an additional resource when the core tasks do not cover this flow.None
Retrieve a commentclient.Comments.Get()GET /comments/{id}Fetch the current state before updating, deleting, or making control-flow decisions.Id
Mark a comment as readclient.Comments.MarkAsRead()PATCH /comments/{id}/readModify an existing resource without recreating it.Id
Get country coverageclient.CountryCoverage.Get()GET /country_coverageInspect available resources or choose an existing resource before mutating it.None
Get coverage for a specific countryclient.CountryCoverage.GetCountry()GET /country_coverage/countries/{country_code}Fetch the current state before updating, deleting, or making control-flow decisions.CountryCode
List customer service recordsclient.CustomerServiceRecords.List()GET /customer_service_recordsInspect available resources or choose an existing resource before mutating it.None
Create a customer service recordclient.CustomerServiceRecords.New()POST /customer_service_recordsCreate or provision an additional resource when the core tasks do not cover this flow.None
Verify CSR phone number coverageclient.CustomerServiceRecords.VerifyPhoneNumberCoverage()POST /customer_service_records/phone_number_coveragesCreate or provision an additional resource when the core tasks do not cover this flow.None
Get a customer service recordclient.CustomerServiceRecords.Get()GET /customer_service_records/{customer_service_record_id}Fetch the current state before updating, deleting, or making control-flow decisions.CustomerServiceRecordId
List inexplicit number ordersclient.InexplicitNumberOrders.List()GET /inexplicit_number_ordersInspect available resources or choose an existing resource before mutating it.None
Create an inexplicit number orderclient.InexplicitNumberOrders.New()POST /inexplicit_number_ordersCreate or provision an additional resource when the core tasks do not cover this flow.OrderingGroups
Retrieve an inexplicit number orderclient.InexplicitNumberOrders.Get()GET /inexplicit_number_orders/{id}Fetch the current state before updating, deleting, or making control-flow decisions.Id
Create an inventory coverage requestclient.InventoryCoverage.List()GET /inventory_coverageInspect available resources or choose an existing resource before mutating it.None
List mobile network operatorsclient.MobileNetworkOperators.List()GET /mobile_network_operatorsInspect available resources or choose an existing resource before mutating it.None
List network coverage locationsclient.NetworkCoverage.List()GET /network_coverageInspect available resources or choose an existing resource before mutating it.None
List number block ordersclient.NumberBlockOrders.List()GET /number_block_ordersInspect available resources or choose an existing resource before mutating it.None
Create a number block orderclient.NumberBlockOrders.New()POST /number_block_ordersCreate or provision an additional resource when the core tasks do not cover this flow.StartingNumber, Range
Retrieve a number block orderclient.NumberBlockOrders.Get()GET /number_block_orders/{number_block_order_id}Fetch the current state before updating, deleting, or making control-flow decisions.NumberBlockOrderId
Retrieve a list of phone numbers associated to ordersclient.NumberOrderPhoneNumbers.List()GET /number_order_phone_numbersInspect available resources or choose an existing resource before mutating it.None
Retrieve a single phone number within a number order.client.NumberOrderPhoneNumbers.Get()GET /number_order_phone_numbers/{number_order_phone_number_id}Fetch the current state before updating, deleting, or making control-flow decisions.NumberOrderPhoneNumberId
Update requirements for a single phone number within a number order.client.NumberOrderPhoneNumbers.UpdateRequirements()PATCH /number_order_phone_numbers/{number_order_phone_number_id}Modify an existing resource without recreating it.NumberOrderPhoneNumberId
List number ordersclient.NumberOrders.List()GET /number_ordersCreate or inspect provisioning orders for number purchases.None
Update a number orderclient.NumberOrders.Update()PATCH /number_orders/{number_order_id}Modify an existing resource without recreating it.NumberOrderId
List number reservationsclient.NumberReservations.List()GET /number_reservationsInspect available resources or choose an existing resource before mutating it.None
Extend a number reservationclient.NumberReservations.Actions.Extend()POST /number_reservations/{number_reservation_id}/actions/extendTrigger a follow-up action in an existing workflow rather than creating a new top-level resource.NumberReservationId
Retrieve the features for a list of numbersclient.NumbersFeatures.New()POST /numbers_featuresCreate or provision an additional resource when the core tasks do not cover this flow.PhoneNumbers
Lists the phone number blocks jobsclient.PhoneNumberBlocks.Jobs.List()GET /phone_number_blocks/jobsInspect available resources or choose an existing resource before mutating it.None
Deletes all numbers associated with a phone number blockclient.PhoneNumberBlocks.Jobs.DeletePhoneNumberBlock()POST /phone_number_blocks/jobs/delete_phone_number_blockCreate or provision an additional resource when the core tasks do not cover this flow.PhoneNumberBlockId
Retrieves a phone number blocks jobclient.PhoneNumberBlocks.Jobs.Get()GET /phone_number_blocks/jobs/{id}Fetch the current state before updating, deleting, or making control-flow decisions.Id
List sub number ordersclient.SubNumberOrders.List()GET /sub_number_ordersInspect available resources or choose an existing resource before mutating it.None
Retrieve a sub number orderclient.SubNumberOrders.Get()GET /sub_number_orders/{sub_number_order_id}Fetch the current state before updating, deleting, or making control-flow decisions.SubNumberOrderId
Update a sub number order's requirementsclient.SubNumberOrders.Update()PATCH /sub_number_orders/{sub_number_order_id}Modify an existing resource without recreating it.SubNumberOrderId
Cancel a sub number orderclient.SubNumberOrders.Cancel()PATCH /sub_number_orders/{sub_number_order_id}/cancelModify an existing resource without recreating it.SubNumberOrderId
Create a sub number orders reportclient.SubNumberOrdersReport.New()POST /sub_number_orders_reportCreate or provision an additional resource when the core tasks do not cover this flow.None
Retrieve a sub number orders reportclient.SubNumberOrdersReport.Get()GET /sub_number_orders_report/{report_id}Fetch the current state before updating, deleting, or making control-flow decisions.ReportId
Download a sub number orders reportclient.SubNumberOrdersReport.Download()GET /sub_number_orders_report/{report_id}/downloadFetch the current state before updating, deleting, or making control-flow decisions.ReportId

Other Webhook Events

Eventdata.event_typeDescription
numberOrderStatusUpdatenumber.order.status.updateNumber Order Status Update

For exhaustive optional parameters, full response schemas, and complete webhook payloads, see references/api-details.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Telnyx Numbers Go AI skill do?

Search, order, and manage phone numbers by location, features, and coverage.

Why use Telnyx Numbers Go on TypingMind?

Because you install it once and use it with any model. Telnyx Numbers Go is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Telnyx Numbers Go in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/team-telnyx/ai/tree/main/providers/claude/plugins/telnyx-numbers/skills/telnyx-numbers-go. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Telnyx Numbers Go?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Telnyx Numbers Go?

As many as you like. As long as a model supports skills, you can use Telnyx Numbers Go with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Telnyx Numbers Go AI skill free?

Yes. It is published on GitHub by team-telnyx under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇