telnyx-ai-assistants-c…
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
Manage call recordings, media storage, Dialogflow integration, and external connections for SIP trunking. This skill provides REST API (curl) examples.
Claude Code
$ npx -y skills add team-telnyx/ai --skill telnyx-sip-integrations-curl --agent claude-code
Codex
$ npx skills add team-telnyx/ai --skill telnyx-sip-integrations-curl -a codex -y
Cursor
$ npx skills add team-telnyx/ai --skill telnyx-sip-integrations-curl -a cursor -y
Gemini CLI
$ npx skills add team-telnyx/ai --skill telnyx-sip-integrations-curl -a gemini-cli -y
GitHub Copilot
$ npx skills add team-telnyx/ai --skill telnyx-sip-integrations-curl -a github-copilot -y
OpenCode
$ npx skills add team-telnyx/ai --skill telnyx-sip-integrations-curl -a opencode -y
Windsurf
$ npx skills add team-telnyx/ai --skill telnyx-sip-integrations-curl -a windsurf -y
name: telnyx-sip-integrations-curl description: >- Manage call recordings, media storage, Dialogflow integration, and external connections for SIP trunking. This skill provides REST API (curl) examples. metadata: author: telnyx product: sip-integrations language: curl generated_by: telnyx-openapi-pipeline
<!-- Auto-generated from Telnyx OpenAPI specs. Do not edit. -->
# curl is pre-installed on macOS, Linux, and Windows 10+
export TELNYX_API_KEY="YOUR_API_KEY_HERE"
All examples below use `$TELNYX_API_KEY` for authentication.
All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:
# Check HTTP status code in response
response=$(curl -s -w "\n%{http_code}" \
-X POST "https://api.telnyx.com/v2/messages" \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"to": "+13125550001", "from": "+13125550002", "text": "Hello"}')
http_code=$(echo "$response" | tail -1)
body=$(echo "$response" | sed '$d')
case $http_code in
2*) echo "Success: $body" ;;
422) echo "Validation error — check required fields and formats" ;;
429) echo "Rate limited — retry after delay"; sleep 1 ;;
401) echo "Authentication failed — check TELNYX_API_KEY" ;;
*) echo "Error $http_code: $body" ;;
esacCommon 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).
Returns the information about custom storage credentials.
`GET /custom_storage_credentials/{connection_id}`
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/custom_storage_credentials/{connection_id}"Returns: `backend` (enum: gcs, s3, s3-generic, azure), `configuration` (object)
Creates a custom storage credentials configuration.
`POST /custom_storage_credentials/{connection_id}`
curl \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
"https://api.telnyx.com/v2/custom_storage_credentials/{connection_id}"Returns: `backend` (enum: gcs, s3, s3-generic, azure), `configuration` (object)
Updates a stored custom credentials configuration.
`PUT /custom_storage_credentials/{connection_id}`
curl \
-X PUT \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
"https://api.telnyx.com/v2/custom_storage_credentials/{connection_id}"Returns: `backend` (enum: gcs, s3, s3-generic, azure), `configuration` (object)
Deletes a stored custom credentials configuration.
`DELETE /custom_storage_credentials/{connection_id}`
curl \
-X DELETE \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"https://api.telnyx.com/v2/custom_storage_credentials/{connection_id}"Return details of the Dialogflow connection associated with the given CallControl connection.
`GET /dialogflow_connections/{connection_id}`
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/dialogflow_connections/{connection_id}"Returns: `connection_id` (string), `conversation_profile_id` (string), `environment` (string), `record_type` (string), `service_account` (string)
Save Dialogflow Credentiails to Telnyx, so it can be used with other Telnyx services.
`POST /dialogflow_connections/{connection_id}`
curl \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
"https://api.telnyx.com/v2/dialogflow_connections/{connection_id}"Returns: `connection_id` (string), `conversation_profile_id` (string), `environment` (string), `record_type` (string), `service_account` (string)
Updates the stored Dialogflow connection for the specified connection and returns the updated configuration.
`PUT /dialogflow_connections/{connection_id}`
curl \
-X PUT \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
"https://api.telnyx.com/v2/dialogflow_connections/{connection_id}"Returns: `connection_id` (string), `conversation_profile_id` (string), `environment` (string), `record_type` (string), `service_account` (string)
Deletes the stored Dialogflow connection for the specified connection.
`DELETE /dialogflow_connections/{connection_id}`
curl \
-X DELETE \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"https://api.telnyx.com/v2/dialogflow_connections/{connection_id}"This endpoint returns a list of your External Connections inside the 'data' attribute of the response. External Connections are used by Telnyx customers to seamless configure SIP trunking integrations with Telnyx Partners, through External Voice Integrations in Mission Control Portal.
`GET /external_connections`
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/external_connections"
Returns: `active` (boolean), `created_at` (string), `credential_active` (boolean), `external_sip_connection` (enum: zoom, operator_connect), `id` (string), `inbound` (object), `outbound` (object), `record_type` (string), `tags` (array[string]), `updated_at` (string), `webhook_api_version` (enum: 1, 2), `webhook_event_failover_url` (uri), `webhook_event_url` (uri), `webhook_timeou
This repo is the one-stop shop for AI Agents and AI-first developers building with Telnyx — everything an agent needs to build production-grade applications and manage its account, from signup to funding.
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.