一键导入
telnyx-account-notifications-go
Configure notification channels and settings for account alerts and events. This skill provides Go SDK examples.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure notification channels and settings for account alerts and events. This skill provides Go SDK examples.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Automated Telnyx bot account signup via obfuscated mathematical challenge
Track agent activities using the Telnyx AI Missions API. Use this skill when executing multi-step tasks that should be logged and tracked. Supports creating voice/SMS agents, scheduling calls, and retrieving conversation insights. Use when tasks involve calling people, sending SMS, or any substantial tracked work.
Automatically upgrade Telnyx account from freemium to professional tier
Test VoIP push notifications for Telnyx WebRTC iOS (APNs) and Android (FCM) apps. Use when debugging push notification delivery, validating certificate/credential setup, or testing that a device receives VoIP pushes correctly.
Text-to-vector embeddings and semantic search using Telnyx AI. Generate embedding vectors via an OpenAI-compatible API — no OpenAI or Google API keys required.
Register brands and campaigns for 10DLC (10-digit long code) A2P messaging compliance in the US. Manage campaign assignments to phone numbers. This skill provides Go SDK examples.
| name | telnyx-account-notifications-go |
| description | Configure notification channels and settings for account alerts and events. This skill provides Go SDK examples. |
| metadata | {"author":"telnyx","product":"account-notifications","language":"go","generated_by":"telnyx-ext-skills-generator"} |
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")),
)
All examples below assume client is already initialized as shown above.
List notification channels.
GET /notification_channels
page, err := client.NotificationChannels.List(context.TODO(), telnyx.NotificationChannelListParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
Create a notification channel.
POST /notification_channels
notificationChannel, err := client.NotificationChannels.New(context.TODO(), telnyx.NotificationChannelNewParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationChannel.Data)
Get a notification channel.
GET /notification_channels/{id}
notificationChannel, err := client.NotificationChannels.Get(context.TODO(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationChannel.Data)
Update a notification channel.
PATCH /notification_channels/{id}
notificationChannel, err := client.NotificationChannels.Update(
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
telnyx.NotificationChannelUpdateParams{
NotificationChannel: telnyx.NotificationChannelParam{},
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationChannel.Data)
Delete a notification channel.
DELETE /notification_channels/{id}
notificationChannel, err := client.NotificationChannels.Delete(context.TODO(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationChannel.Data)
Returns a list of your notifications events conditions.
GET /notification_event_conditions
page, err := client.NotificationEventConditions.List(context.TODO(), telnyx.NotificationEventConditionListParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
Returns a list of your notifications events.
GET /notification_events
page, err := client.NotificationEvents.List(context.TODO(), telnyx.NotificationEventListParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
Returns a list of your notifications profiles.
GET /notification_profiles
page, err := client.NotificationProfiles.List(context.TODO(), telnyx.NotificationProfileListParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
Create a notification profile.
POST /notification_profiles
notificationProfile, err := client.NotificationProfiles.New(context.TODO(), telnyx.NotificationProfileNewParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationProfile.Data)
Get a notification profile.
GET /notification_profiles/{id}
notificationProfile, err := client.NotificationProfiles.Get(context.TODO(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationProfile.Data)
Update a notification profile.
PATCH /notification_profiles/{id}
notificationProfile, err := client.NotificationProfiles.Update(
context.TODO(),
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
telnyx.NotificationProfileUpdateParams{
NotificationProfile: telnyx.NotificationProfileParam{},
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationProfile.Data)
Delete a notification profile.
DELETE /notification_profiles/{id}
notificationProfile, err := client.NotificationProfiles.Delete(context.TODO(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationProfile.Data)
List notification settings.
GET /notification_settings
page, err := client.NotificationSettings.List(context.TODO(), telnyx.NotificationSettingListParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", page)
Add a notification setting.
POST /notification_settings
notificationSetting, err := client.NotificationSettings.New(context.TODO(), telnyx.NotificationSettingNewParams{})
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationSetting.Data)
Get a notification setting.
GET /notification_settings/{id}
notificationSetting, err := client.NotificationSettings.Get(context.TODO(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationSetting.Data)
Delete a notification setting.
DELETE /notification_settings/{id}
notificationSetting, err := client.NotificationSettings.Delete(context.TODO(), "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", notificationSetting.Data)