Skip to main content
telnyx-messaging-profiles-ruby Create and manage messaging profiles with number pools, sticky sender, and geomatch features. Configure short codes for high-volume messaging. This skill provides Ruby SDK examples.
Zur Installation springen Skills Marktplatz Entdecken und erkunden Sie KI-Skills, die von der Community erstellt wurden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Prompt kopierenPrompt-Details anzeigen Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
npx skills add https://github.com/team-telnyx/telnyx-toolkit --skill telnyx-messaging-profiles-rubyDer Befehl bleibt in einer Zeile. Scrollen Sie horizontal, um ihn vor dem Kopieren vollständig zu prüfen.
Sie bevorzugen eine lokale Kopie? Laden Sie die Dateien herunter, die SkillsMP derzeit vorliegen.
ZIP herunterladen Herunterladen... Verwandte Berufe SOC
Basierend auf der SOC-Berufsklassifikation
name telnyx-messaging-profiles-ruby description Create and manage messaging profiles with number pools, sticky sender, and geomatch features. Configure short codes for high-volume messaging. This skill provides Ruby SDK examples. metadata {"author":"telnyx","product":"messaging-profiles","language":"ruby","generated_by":"telnyx-ext-skills-generator"}
Telnyx Messaging Profiles - Ruby
Installation
gem install telnyx
Setup
require "telnyx"
client = Telnyx::Client .new(
api_key: ENV ["TELNYX_API_KEY" ],
)
All examples below assume client is already initialized as shown above.
List messaging profiles
GET /messaging_profiles
page = client.messaging_profiles.list
puts(page)
Create a messaging profile
POST /messaging_profiles — Required: name, whitelisted_destinations
messaging_profile = client.messaging_profiles.create(name: "My name" , whitelisted_destinations: ["US" ])
puts(messaging_profile)
Retrieve a messaging profile GET /messaging_profiles/{id}
messaging_profile = client.messaging_profiles.retrieve("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" )
puts(messaging_profile)
Update a messaging profile PATCH /messaging_profiles/{id}
messaging_profile = client.messaging_profiles.update("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" )
puts(messaging_profile)
Delete a messaging profile DELETE /messaging_profiles/{id}
messaging_profile = client.messaging_profiles.delete("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" )
puts(messaging_profile)
List phone numbers associated with a messaging profile GET /messaging_profiles/{id}/phone_numbers
page = client.messaging_profiles.list_phone_numbers("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" )
puts(page)
List short codes associated with a messaging profile GET /messaging_profiles/{id}/short_codes
page = client.messaging_profiles.list_short_codes("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" )
puts(page)
List Auto-Response Settings GET /messaging_profiles/{profile_id}/autoresp_configs
autoresp_configs = client.messaging_profiles.autoresp_configs.list("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" )
puts(autoresp_configs)
Create auto-response setting POST /messaging_profiles/{profile_id}/autoresp_configs — Required: op, keywords, country_code
auto_resp_config_response = client.messaging_profiles.autoresp_configs.create(
"profile_id" ,
country_code: "US" ,
keywords: ["keyword1" , "keyword2" ],
op: :start
)
puts(auto_resp_config_response)
Get Auto-Response Setting GET /messaging_profiles/{profile_id}/autoresp_configs/{autoresp_cfg_id}
auto_resp_config_response = client.messaging_profiles.autoresp_configs.retrieve(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
profile_id: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
)
puts(auto_resp_config_response)
Update Auto-Response Setting PUT /messaging_profiles/{profile_id}/autoresp_configs/{autoresp_cfg_id} — Required: op, keywords, country_code
auto_resp_config_response = client.messaging_profiles.autoresp_configs.update(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
profile_id: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
country_code: "US" ,
keywords: ["keyword1" , "keyword2" ],
op: :start
)
puts(auto_resp_config_response)
Delete Auto-Response Setting DELETE /messaging_profiles/{profile_id}/autoresp_configs/{autoresp_cfg_id}
autoresp_config = client.messaging_profiles.autoresp_configs.delete(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
profile_id: "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
)
puts(autoresp_config)
List short codes page = client.short_codes.list
puts(page)
Retrieve a short code short_code = client.short_codes.retrieve("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" )
puts(short_code)
Update short code Update the settings for a specific short code.
PATCH /short_codes/{id} — Required: messaging_profile_id
short_code = client.short_codes.update(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e" ,
messaging_profile_id: "abc85f64-5717-4562-b3fc-2c9600000000"
)
puts(short_code)
Mehr aus diesem Repository Complete Telnyx toolkit — ready-to-use tools (STT, TTS, RAG, Networking, 10DLC) plus SDK documentation for JavaScript, Python, Go, Java, and Ruby.
Automated Telnyx bot account signup via challenge-response
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.