telnyx-ai-assistants-c…
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
Manage email inboxes, list and search inbound messages, threads, sender filters, and reply to or forward messages. Use for building email agents that read and respond to incoming email.
$ npx -y skills add team-telnyx/ai --skill telnyx-email-inbound-curl --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/telnyx-email-inbound-curlContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage email inboxes, list and search inbound messages, threads, sender filters, and reply to or forward messages. Use for building email agents that read and respond to incoming email.
name: telnyx-email-inbound-curl description: >- Manage email inboxes, list and search inbound messages, threads, sender filters, and reply to or forward messages. Use for building email agents that read and respond to incoming email. metadata: author: telnyx product: email language: curl
<!-- 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" export TELNYX_API_BASE="https://api.telnyx.com/v2"
All examples below use `$TELNYX_API_KEY` for authentication. Resource IDs are UUIDs; store the IDs returned by create and list calls rather than parsing them from email addresses.
All API calls can fail with network errors, authentication errors (401), validation errors (422), temporary service errors (503), or rate limits (429). Capture the HTTP status separately from the JSON response in production:
response_file="$(mktemp)"
status="$({ curl -sS \
-o "$response_file" \
-w '%{http_code}' \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"$TELNYX_API_BASE/email_inboxes"; } || printf '000')"
if [[ "$status" != "200" ]]; then
printf 'Telnyx request failed (HTTP %s)\n' "$status" >&2
jq . "$response_file" >&2 2>/dev/null || true
fi
rm -f "$response_file"Common status codes:
| Status | Meaning | Action | |--------|---------|--------| | `400` | Malformed request or send-time prerequisite failure | Fix the request; do not retry unchanged. | | `401` | Invalid or missing API key | Replace the key and retry. | | `403` | The account or inbox domain cannot send | Correct permissions or sending-domain configuration. | | `404` | Resource is missing, deleted, foreign, or the sending domain could not be resolved | Re-list account-scoped resources; do not use the response to infer foreign resource existence. | | `422` | Validation failed or every action recipient was suppressed | Read `.errors[]` and fix the referenced field. | | `429` | Rate limited or inbox-domain reputation suspended sending | Honor retry guidance for rate limits; reputation suspension requires remediation. | | `503` | Inbound storage, actions, or a dependency is unavailable | Retry with bounded exponential backoff and jitter. |
Do not invent Telnyx parameters, enums, recipient shapes, response fields, or webhook fields.
Create an inbox on an account-owned inbound-enabled domain. Both body fields are optional: omit `domain_id` to use the shared inbound subdomain and omit `username` to generate a unique local part.
`POST /email_inboxes`
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `username` | string | No | Local part, normalized to lowercase; 1-64 characters using letters, digits, dots, hyphens, and underscores. | | `domain_id` | UUID | No | Account-owned inbound-enabled domain. Omit for the shared inbound subdomain. |
curl -sS \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"username": "support",
"domain_id": "22222222-2222-2222-2222-222222222222"
}' \
"$TELNYX_API_BASE/email_inboxes"Primary response fields: `.data.id`, `.data.address`, `.data.status`, `.data.domain_id`,
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.
Repo: team-telnyx/ai
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.