telnyx-ai-assistants-c…
AI voice assistants with custom instructions, knowledge bases, and tool integrations.
10DLC brand and campaign registration for US A2P messaging compliance. Assign phone numbers to campaigns.
$ npx -y skills add team-telnyx/ai --skill telnyx-10dlc-curl --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/telnyx-10dlc-curlContext preview
The summary Claude sees to decide when to auto-load this skill.
10DLC brand and campaign registration for US A2P messaging compliance. Assign phone numbers to campaigns.
name: telnyx-10dlc-curl description: >- 10DLC brand and campaign registration for US A2P messaging compliance. Assign phone numbers to campaigns. metadata: author: telnyx product: 10dlc language: curl generated_by: telnyx-openapi-pipeline contract: v2
<!-- 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:
curl \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"entityType": "PRIVATE_PROFIT",
"displayName": "ABC Mobile",
"country": "US",
"email": "support@example.com",
"vertical": "TECHNOLOGY"
}' \
"https://api.telnyx.com/v2/10dlc/brand"Common 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).
Do not invent Telnyx parameters, enums, response fields, or webhook fields.
Brand registration is the entrypoint for any US A2P 10DLC campaign flow.
`POST /10dlc/brand`
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `entityType` | object | Yes | Entity type behind the brand. | | `displayName` | string | Yes | Display name, marketing name, or DBA name of the brand. | | `country` | string | Yes | ISO2 2 characters country code. | | `email` | string | Yes | Valid email address of brand support contact. | | `vertical` | object | Yes | Vertical or industry segment of the brand. | | `companyName` | string | No | (Required for Non-profit/private/public) Legal company name. | | `firstName` | string | No | First name of business contact. | | `lastName` | string | No | Last name of business contact. | | ... | | | +16 optional params in [references/api-details.md](references/api-details.md) |
curl \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"entityType": "PRIVATE_PROFIT",
"displayName": "ABC Mobile",
"country": "US",
"email": "support@example.com",
"vertical": "TECHNOLOGY"
}' \
"https://api.telnyx.com/v2/10dlc/brand"Primary response fields:
Campaign submission is the compliance-critical step that determines whether traffic can be provisioned.
`POST /10dlc/campaignBuilder`
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `brandId` | string (UUID) | Yes | Alphanumeric identifier of the brand associated with this ca... | | `description` | string | Yes | Summary description of this campaign. | | `usecase` | string | Yes | Campaign usecase. | | `ageGated` | boolean | No | Age gated message content in campaign. | | `autoRenewal` | boolean | No | Campaign subscription auto-renewal option. | | `directLending` | boolean | No | Direct lending or loan arrangement | | ... | | | +29 optional params in [references/api-details.md](references/api-details.md) |
curl \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"brandId": "BXXXXXX",
"description": "Two-factor authentication messages",
"usecase": "2FA",
"sample1": "Your verification code is {{code}}"
}' \
"https://api.telnyx.com/v2/10dlc/campaignBuilder"Primary response fields:
Messaging profile assignment is the practical handoff from registration to send-ready messaging infrastructure.
`POST /10dlc/phoneNumberAssignmentByProfile`
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `messagingProfileId` | string (UUID) | Yes | The ID of the messaging profile that you want to link to the... | | `campaignId` | string (UUID) | Yes | The ID of the campaign you want to link to the specified mes... | | `tcrCampaignId` | string (UUID) | No | The TCR ID of the shared campaign you want to link to the sp... |
curl \
-X POST \
-H "Authorization: Bearer $TELNYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{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.