Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Ports phone numbers into Telnyx, covering portability checks, port orders, LOA uploads and status tracking with the Go SDK.
16% 100%+84 ptsof test cases passed
Passed 25 of 25 test cases with the skill, and 4 of 25 without it.
A webhook for a porting event failed to deliver. Write a Go snippet using the Telnyx SDK to trigger a republish of the event with ID '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e'.
uses client.Porting.Events.Republish
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
go get github.com/team-telnyx/telnyx-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")),
option.WithPublicKey(os.Getenv("TELNYX_PUBLIC_KEY")), // Required for client.Webhooks.Unwrap (webhook verification)
)
All examples below assume client is already initialized as shown above.
All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:
import "errors"
result, err := client.Messages.Send(ctx, params)
if err != nil {
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.