Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manages Telnyx WebRTC credentials and mobile push notification settings using the Python SDK.
28% 96%+68 ptsof test cases passed
Passed 24 of 25 test cases with the skill, and 7 of 25 without it.
Write a Python snippet to retrieve a single Telnyx mobile push credential by ID '0ccc7b76-4df3-4bca-a05a-3da1ecc389f0' and print its record_type.
Calls client.mobile_push_credentials.retrieve with the UUID string
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
pip install telnyx
import os
from telnyx import Telnyx
client = Telnyx(
api_key=os.environ.get("TELNYX_API_KEY"), # This is the default and can be omitted
public_key=os.environ.get("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 telnyx
try:
result = client.messages.send(to="+13125550001", from_="+13125550002", text="Hello")
except telnyx.APIConnectionError:
print("Network error — check connectivity and retry")
raise
except telnyx.RateLimitError:
# 429: rate limited — wait, then retry the request (bounded exponential backoff)
import time
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.