telnyx-ai-assistants-c…
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
Manage email suppressions (blocks), import and export suppression lists, and manage unsubscribe groups. Use for deliverability compliance and bounce handling.
$ npx -y skills add team-telnyx/ai --skill telnyx-email-suppressions-curl --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/telnyx-email-suppressions-curlContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage email suppressions (blocks), import and export suppression lists, and manage unsubscribe groups. Use for deliverability compliance and bounce handling.
name: telnyx-email-suppressions-curl description: >- Manage email suppressions (blocks), import and export suppression lists, and manage unsubscribe groups. Use for deliverability compliance and bounce handling. 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+ # jq is required for the import polling examples below: # macOS: brew install jq # Debian/Ubuntu: sudo apt-get install jq
export TELNYX_API_KEY="YOUR_API_KEY_HERE"
All examples below use `$TELNYX_API_KEY` for authentication and the API base URL `https://api.telnyx.com/v2`.
All API calls can fail with network errors, authentication errors (401), or framework errors (406). List-query validation failures return 400, resource lookups can return 404, and JSON body validation failures normally return 422. Inspect the HTTP status and the top-level `.errors` array before continuing:
response_file=$(mktemp)
status=$(curl --silent --show-error \
--output "$response_file" \
--write-out '%{http_code}' \
-H "Authorization: Bearer $TELNYX_API_KEY" \
"https://api.telnyx.com/v2/email_blocks")
if [ "$status" -lt 200 ] || [ "$status" -ge 300 ]; then
printf 'Telnyx API error (HTTP %s):\n' "$status" >&2
jq . "$response_file" >&2
rm -f "$response_file"
exit 1
fi
jq . "$response_file"
rm -f "$response_file"Common statuses are `400` malformed query or import, `401` invalid API key, `404` resource not found, `409` group still has active suppressions, `413` import too large, and `422` invalid request attributes. A successful delete may return `204 No Content`; do not attempt to parse that response as JSON.
Do not invent Telnyx parameters, enums, response fields, import counters, or CSV columns.
Use offset pagination for page-oriented tools or cursor pagination for sequential traversal without page-number offsets.
`GET /v2/email_blocks`
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `page[number]` | integer | No | Offset page, default 1. Do not combine with a cursor. | | `page[size]` | integer | No | 1-100, default 25. | | `page[after]` | string | No | Opaque next-page cursor. Exclusive with `page[number]` and `page[before]`. | | `page[before]` | string | No | Opaque previous-page cursor. Exclusive with `page[number]` and `page[after]`. | | `sort` | enum | No | `created_at` or `-created_at` (default). | | `filter[reason]` | enum | No | Exact reason match. | | `filter[domain_id]` | UUID | No | Exact domain ID match. | | `filter[created_after]` | date-time | No | Match `created_at > value`. | | `filter[created_before]` | date-time | No | Match `created_at < value`. |
curl --get --silent --show-error \
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.