{"id":"b1d35652-6cd7-4e32-9223-d8d4941af1d6","shortId":"WfQyeC","kind":"skill","title":"telnyx-webrtc-curl","tagline":">-","description":"<!-- Auto-generated from Telnyx OpenAPI specs. Do not edit. -->\n\n# Telnyx Webrtc - curl\n\n## Installation\n\n```text\n# curl is pre-installed on macOS, Linux, and Windows 10+\n```\n\n## Setup\n\n```bash\nexport TELNYX_API_KEY=\"YOUR_API_KEY_HERE\"\n```\n\nAll examples below use `$TELNYX_API_KEY` for authentication.\n\n## Error Handling\n\nAll API calls can fail with network errors, rate limits (429), validation errors (422),\nor authentication errors (401). Always handle errors in production code:\n\n```bash\n# Check HTTP status code in response\nresponse=$(curl -s -w \"\\n%{http_code}\" \\\n  -X POST \"https://api.telnyx.com/v2/messages\" \\\n  -H \"Authorization: Bearer $TELNYX_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"to\": \"+13125550001\", \"from\": \"+13125550002\", \"text\": \"Hello\"}')\n\nhttp_code=$(echo \"$response\" | tail -1)\nbody=$(echo \"$response\" | sed '$d')\n\ncase $http_code in\n  2*) echo \"Success: $body\" ;;\n  422) echo \"Validation error — check required fields and formats\" ;;\n  429) echo \"Rate limited — retry after delay\"; sleep 1 ;;\n  401) echo \"Authentication failed — check TELNYX_API_KEY\" ;;\n  *)   echo \"Error $http_code: $body\" ;;\nesac\n```\n\nCommon error codes: `401` invalid API key, `403` insufficient permissions,\n`404` resource not found, `422` validation error (check field formats),\n`429` rate limited (retry with exponential backoff).\n\n## Important Notes\n\n- **Pagination:** List endpoints return paginated results. Use `page[number]` and `page[size]` query parameters to navigate pages. Check `meta.total_pages` in the response.\n\n## List mobile push credentials\n\n`GET /mobile_push_credentials`\n\n```bash\ncurl -H \"Authorization: Bearer $TELNYX_API_KEY\" \"https://api.telnyx.com/v2/mobile_push_credentials\"\n```\n\nReturns: `alias` (string), `certificate` (string), `created_at` (date-time), `id` (string), `private_key` (string), `project_account_json_file` (object), `record_type` (string), `type` (string), `updated_at` (date-time)\n\n## Creates a new mobile push credential\n\n`POST /mobile_push_credentials` — Required: `type`, `certificate`, `private_key`, `alias`\n\n```bash\ncurl \\\n  -X POST \\\n  -H \"Authorization: Bearer $TELNYX_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  \"https://api.telnyx.com/v2/mobile_push_credentials\"\n```\n\nReturns: `alias` (string), `certificate` (string), `created_at` (date-time), `id` (string), `private_key` (string), `project_account_json_file` (object), `record_type` (string), `type` (string), `updated_at` (date-time)\n\n## Retrieves a mobile push credential\n\nRetrieves mobile push credential based on the given `push_credential_id`\n\n`GET /mobile_push_credentials/{push_credential_id}`\n\n```bash\ncurl -H \"Authorization: Bearer $TELNYX_API_KEY\" \"https://api.telnyx.com/v2/mobile_push_credentials/0ccc7b76-4df3-4bca-a05a-3da1ecc389f0\"\n```\n\nReturns: `alias` (string), `certificate` (string), `created_at` (date-time), `id` (string), `private_key` (string), `project_account_json_file` (object), `record_type` (string), `type` (string), `updated_at` (date-time)\n\n## Deletes a mobile push credential\n\nDeletes a mobile push credential based on the given `push_credential_id`\n\n`DELETE /mobile_push_credentials/{push_credential_id}`\n\n```bash\ncurl \\\n  -X DELETE \\\n  -H \"Authorization: Bearer $TELNYX_API_KEY\" \\\n  \"https://api.telnyx.com/v2/mobile_push_credentials/0ccc7b76-4df3-4bca-a05a-3da1ecc389f0\"\n```\n\n## List all credentials\n\nList all On-demand Credentials.\n\n`GET /telephony_credentials`\n\n```bash\ncurl -H \"Authorization: Bearer $TELNYX_API_KEY\" \"https://api.telnyx.com/v2/telephony_credentials\"\n```\n\nReturns: `created_at` (string), `expired` (boolean), `expires_at` (string), `id` (string), `name` (string), `record_type` (string), `resource_id` (string), `sip_password` (string), `sip_username` (string), `updated_at` (string), `user_id` (string)\n\n## Create a credential\n\nCreate a credential.\n\n`POST /telephony_credentials` — Required: `connection_id`\n\nOptional: `expires_at` (string), `name` (string), `tag` (string)\n\n```bash\ncurl \\\n  -X POST \\\n  -H \"Authorization: Bearer $TELNYX_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"connection_id\": \"1234567890\"\n}' \\\n  \"https://api.telnyx.com/v2/telephony_credentials\"\n```\n\nReturns: `created_at` (string), `expired` (boolean), `expires_at` (string), `id` (string), `name` (string), `record_type` (string), `resource_id` (string), `sip_password` (string), `sip_username` (string), `updated_at` (string), `user_id` (string)\n\n## Get a credential\n\nGet the details of an existing On-demand Credential.\n\n`GET /telephony_credentials/{id}`\n\n```bash\ncurl -H \"Authorization: Bearer $TELNYX_API_KEY\" \"https://api.telnyx.com/v2/telephony_credentials/550e8400-e29b-41d4-a716-446655440000\"\n```\n\nReturns: `created_at` (string), `expired` (boolean), `expires_at` (string), `id` (string), `name` (string), `record_type` (string), `resource_id` (string), `sip_password` (string), `sip_username` (string), `updated_at` (string), `user_id` (string)\n\n## Update a credential\n\nUpdate an existing credential.\n\n`PATCH /telephony_credentials/{id}`\n\nOptional: `connection_id` (string), `expires_at` (string), `name` (string), `tag` (string)\n\n```bash\ncurl \\\n  -X PATCH \\\n  -H \"Authorization: Bearer $TELNYX_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  \"https://api.telnyx.com/v2/telephony_credentials/550e8400-e29b-41d4-a716-446655440000\"\n```\n\nReturns: `created_at` (string), `expired` (boolean), `expires_at` (string), `id` (string), `name` (string), `record_type` (string), `resource_id` (string), `sip_password` (string), `sip_username` (string), `updated_at` (string), `user_id` (string)\n\n## Delete a credential\n\nDelete an existing credential.\n\n`DELETE /telephony_credentials/{id}`\n\n```bash\ncurl \\\n  -X DELETE \\\n  -H \"Authorization: Bearer $TELNYX_API_KEY\" \\\n  \"https://api.telnyx.com/v2/telephony_credentials/550e8400-e29b-41d4-a716-446655440000\"\n```\n\nReturns: `created_at` (string), `expired` (boolean), `expires_at` (string), `id` (string), `name` (string), `record_type` (string), `resource_id` (string), `sip_password` (string), `sip_username` (string), `updated_at` (string), `user_id` (string)","tags":["telnyx","webrtc","curl","team-telnyx","agent-skills","ai-coding-agent","claude-code","cpaas","cursor","iot","llm","sdk"],"capabilities":["skill","source-team-telnyx","skill-telnyx-webrtc-curl","topic-agent-skills","topic-ai-coding-agent","topic-claude-code","topic-cpaas","topic-cursor","topic-iot","topic-llm","topic-sdk","topic-sip","topic-sms","topic-speech-to-text","topic-telephony"],"categories":["ai"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/team-telnyx/ai/telnyx-webrtc-curl","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add team-telnyx/ai","source_repo":"https://github.com/team-telnyx/ai","install_from":"skills.sh"}},"qualityScore":"0.533","qualityRationale":"deterministic score 0.53 from registry signals: · indexed on github topic:agent-skills · 167 github stars · SKILL.md body (6,089 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T00:54:55.723Z","embedding":null,"createdAt":"2026-04-18T22:08:46.289Z","updatedAt":"2026-04-22T00:54:55.723Z","lastSeenAt":"2026-04-22T00:54:55.723Z","tsv":"'+13125550001':98 '+13125550002':100 '-1':108 '/mobile_push_credentials':211,260,332,395 '/telephony_credentials':422,472,551,603,673 '/v2/messages':84 '/v2/mobile_push_credentials':222,284 '/v2/mobile_push_credentials/0ccc7b76-4df3-4bca-a05a-3da1ecc389f0':346,411 '/v2/telephony_credentials':433,505 '/v2/telephony_credentials/550e8400-e29b-41d4-a716-446655440000':563,633,687 '1':139 '10':20 '1234567890':502 '2':118 '401':59,140,157 '403':161 '404':164 '422':55,122,168 '429':52,131,174 'account':239,301,363 'alia':224,266,286,348 'alway':60 'api':25,28,36,43,89,146,159,218,275,342,407,429,492,559,624,683 'api.telnyx.com':83,221,283,345,410,432,504,562,632,686 'api.telnyx.com/v2/messages':82 'api.telnyx.com/v2/mobile_push_credentials':220,282 'api.telnyx.com/v2/mobile_push_credentials/0ccc7b76-4df3-4bca-a05a-3da1ecc389f0':344,409 'api.telnyx.com/v2/telephony_credentials':431,503 'api.telnyx.com/v2/telephony_credentials/550e8400-e29b-41d4-a716-446655440000':561,631,685 'application/json':95,281,498,630 'authent':39,57,142 'author':86,215,272,339,404,426,489,556,621,680 'backoff':180 'base':324,387 'bash':22,66,212,267,336,399,423,484,553,616,675 'bearer':87,216,273,340,405,427,490,557,622,681 'bodi':109,121,152 'boolean':439,511,569,639,693 'call':44 'case':114 'certif':226,263,288,350 'check':67,126,144,171,200 'code':65,70,79,104,116,151,156 'common':154 'connect':474,500,606 'content':93,279,496,628 'content-typ':92,278,495,627 'creat':228,253,290,352,435,465,468,507,565,635,689 'credenti':209,258,319,323,329,334,381,386,392,397,414,420,467,470,539,549,597,601,667,671 'curl':4,7,10,74,213,268,337,400,424,485,554,617,676 'd':96,113,499 'date':231,251,293,313,355,375 'date-tim':230,250,292,312,354,374 'delay':137 'delet':377,382,394,402,665,668,672,678 'demand':419,548 'detail':542 'echo':105,110,119,123,132,141,148 'endpoint':185 'error':40,49,54,58,62,125,149,155,170 'esac':153 'exampl':32 'exist':545,600,670 'expir':438,440,477,510,512,568,570,609,638,640,692,694 'exponenti':179 'export':23 'fail':46,143 'field':128,172 'file':241,303,365 'format':130,173 'found':167 'get':210,331,421,537,540,550 'given':327,390 'h':85,91,214,271,277,338,403,425,488,494,555,620,626,679 'handl':41,61 'hello':102 'http':68,78,103,115,150 'id':233,295,330,335,357,393,398,443,451,463,475,501,515,523,535,552,573,581,593,604,607,643,651,663,674,697,705,717 'import':181 'instal':8,14 'insuffici':162 'invalid':158 'json':240,302,364 'key':26,29,37,90,147,160,219,236,265,276,298,343,360,408,430,493,560,625,684 'limit':51,134,176 'linux':17 'list':184,206,412,415 'maco':16 'meta.total':201 'mobil':207,256,317,321,379,384 'n':77 'name':445,480,517,575,612,645,699 'navig':198 'network':48 'new':255 'note':182 'number':191 'object':242,304,366 'on-demand':417,546 'option':476,605 'page':190,193,199,202 'pagin':183,187 'paramet':196 'password':454,526,584,654,708 'patch':602,619 'permiss':163 'post':81,259,270,471,487 'pre':13 'pre-instal':12 'privat':235,264,297,359 'product':64 'project':238,300,362 'push':208,257,318,322,328,333,380,385,391,396 'queri':195 'rate':50,133,175 'record':243,305,367,447,519,577,647,701 'requir':127,261,473 'resourc':165,450,522,580,650,704 'respons':72,73,106,111,205 'result':188 'retri':135,177 'retriev':315,320 'return':186,223,285,347,434,506,564,634,688 'sed':112 'setup':21 'sip':453,456,525,528,583,586,653,656,707,710 'size':194 'skill' 'skill-telnyx-webrtc-curl' 'sleep':138 'source-team-telnyx' 'status':69 'string':225,227,234,237,245,247,287,289,296,299,307,309,349,351,358,361,369,371,437,442,444,446,449,452,455,458,461,464,479,481,483,509,514,516,518,521,524,527,530,533,536,567,572,574,576,579,582,585,588,591,594,608,611,613,615,637,642,644,646,649,652,655,658,661,664,691,696,698,700,703,706,709,712,715,718 'success':120 'tag':482,614 'tail':107 'telnyx':2,5,24,35,88,145,217,274,341,406,428,491,558,623,682 'telnyx-webrtc-curl':1 'text':9,101 'time':232,252,294,314,356,376 'topic-agent-skills' 'topic-ai-coding-agent' 'topic-claude-code' 'topic-cpaas' 'topic-cursor' 'topic-iot' 'topic-llm' 'topic-sdk' 'topic-sip' 'topic-sms' 'topic-speech-to-text' 'topic-telephony' 'type':94,244,246,262,280,306,308,368,370,448,497,520,578,629,648,702 'updat':248,310,372,459,531,589,595,598,659,713 'use':34,189 'user':462,534,592,662,716 'usernam':457,529,587,657,711 'valid':53,124,169 'w':76 'webrtc':3,6 'window':19 'x':80,269,401,486,618,677","prices":[{"id":"161769a9-f232-478f-8bfe-2468493ed22c","listingId":"b1d35652-6cd7-4e32-9223-d8d4941af1d6","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"team-telnyx","category":"ai","install_from":"skills.sh"},"createdAt":"2026-04-18T22:08:46.289Z"}],"sources":[{"listingId":"b1d35652-6cd7-4e32-9223-d8d4941af1d6","source":"github","sourceId":"team-telnyx/ai/telnyx-webrtc-curl","sourceUrl":"https://github.com/team-telnyx/ai/tree/main/skills/telnyx-webrtc-curl","isPrimary":false,"firstSeenAt":"2026-04-18T22:08:46.289Z","lastSeenAt":"2026-04-22T00:54:55.723Z"}],"details":{"listingId":"b1d35652-6cd7-4e32-9223-d8d4941af1d6","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"team-telnyx","slug":"telnyx-webrtc-curl","github":{"repo":"team-telnyx/ai","stars":167,"topics":["agent-skills","ai","ai-coding-agent","claude-code","cpaas","cursor","iot","llm","sdk","sip","sms","speech-to-text","telephony","telnyx","tts","twilio-migration","voice-agents","voice-ai","webrtc","windsurf"],"license":"mit","html_url":"https://github.com/team-telnyx/ai","pushed_at":"2026-04-21T22:09:49Z","description":"Official one-stop shop for AI Agents and developers building with Telnyx.","skill_md_sha":"2bbe928aae91b11086852cb2d3ee09a75f35e35b","skill_md_path":"skills/telnyx-webrtc-curl/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/team-telnyx/ai/tree/main/skills/telnyx-webrtc-curl"},"layout":"multi","source":"github","category":"ai","frontmatter":{"name":"telnyx-webrtc-curl","description":">-"},"skills_sh_url":"https://skills.sh/team-telnyx/ai/telnyx-webrtc-curl"},"updatedAt":"2026-04-22T00:54:55.723Z"}}