Logo: Telnyx 10dlc Curl

Telnyx 10dlc Curl

Organisatioun
team-telnyx
telnyx-10dlc-curl

10DLC brand and campaign registration for US A2P messaging compliance. Assign phone numbers to campaigns.

Add to TypingMind

Iwwersiicht

Editeurteam-telnyx
Repositoryai
Skill-Nummtelnyx-10dlc-curl
Stären
217
Forks
21
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    team-telnyx huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Telnyx 10dlc Curl an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/team-telnyx/ai/tree/main/providers/claude/plugins/telnyx-numbers/skills/telnyx-10dlc-curl
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/team-telnyx/ai.git /tmp/ai
mkdir -p .claude/skills
cp -r /tmp/ai/providers/claude/plugins/telnyx-numbers/skills/telnyx-10dlc-curl .claude/skills/telnyx-10dlc-curl
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Telnyx 10dlc Curl an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Telnyx 10dlc Curl automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Telnyx 10dlc Curl net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Telnyx 10DLC - curl

Installation

text
# curl is pre-installed on macOS, Linux, and Windows 10+

Setup

bash
export TELNYX_API_KEY="YOUR_API_KEY_HERE"

All examples below use $TELNYX_API_KEY for authentication.

Error Handling

All API calls can fail with network errors, rate limits (429), validation errors (422), or authentication errors (401). Always handle errors in production code:

bash
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).

Important Notes

  • Pagination: List endpoints return paginated results. Use page[number] and page[size] query parameters to navigate pages. Check meta.total_pages in the response.

Operational Caveats

  • 10DLC is sequential: create the brand first, then submit the campaign, then attach messaging infrastructure such as the messaging profile.
  • Registration calls are not enough by themselves. Messaging cannot use the campaign until the assignment step completes successfully.
  • Treat registration status fields as part of the control flow. Do not assume the campaign is send-ready until the returned status fields confirm it.

Reference Use Rules

Do not invent Telnyx parameters, enums, response fields, or webhook fields.

Core Tasks

Create a brand

Brand registration is the entrypoint for any US A2P 10DLC campaign flow.

POST /10dlc/brand

ParameterTypeRequiredDescription
entityTypeobjectYesEntity type behind the brand.
displayNamestringYesDisplay name, marketing name, or DBA name of the brand.
countrystringYesISO2 2 characters country code.
emailstringYesValid email address of brand support contact.
verticalobjectYesVertical or industry segment of the brand.
companyNamestringNo(Required for Non-profit/private/public) Legal company name.
firstNamestringNoFirst name of business contact.
lastNamestringNoLast name of business contact.
...+16 optional params in references/api-details.md
bash
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:

  • .data.brandId
  • .data.identityStatus
  • .data.status
  • .data.displayName
  • .data.state
  • .data.altBusinessId

Submit a campaign

Campaign submission is the compliance-critical step that determines whether traffic can be provisioned.

POST /10dlc/campaignBuilder

ParameterTypeRequiredDescription
brandIdstring (UUID)YesAlphanumeric identifier of the brand associated with this ca...
descriptionstringYesSummary description of this campaign.
usecasestringYesCampaign usecase.
ageGatedbooleanNoAge gated message content in campaign.
autoRenewalbooleanNoCampaign subscription auto-renewal option.
directLendingbooleanNoDirect lending or loan arrangement
...+29 optional params in references/api-details.md
bash
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:

  • .data.campaignId
  • .data.brandId
  • .data.campaignStatus
  • .data.submissionStatus
  • .data.failureReasons
  • .data.status

Assign a messaging profile to a campaign

Messaging profile assignment is the practical handoff from registration to send-ready messaging infrastructure.

POST /10dlc/phoneNumberAssignmentByProfile

ParameterTypeRequiredDescription
messagingProfileIdstring (UUID)YesThe ID of the messaging profile that you want to link to the...
campaignIdstring (UUID)YesThe ID of the campaign you want to link to the specified mes...
tcrCampaignIdstring (UUID)NoThe TCR ID of the shared campaign you want to link to the sp...
bash
curl \
  -X POST \
  -H "Authorization: Bearer $TELNYX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
      "messagingProfileId": "4001767e-ce0f-4cae-9d5f-0d5e636e7809",
      "campaignId": "CXXX001"
  }' \
  "https://api.telnyx.com/v2/10dlc/phoneNumberAssignmentByProfile"

Primary response fields:

  • .data.messagingProfileId
  • .data.campaignId
  • .data.taskId
  • .data.tcrCampaignId

Webhook Verification

Telnyx signs webhooks with Ed25519. Each request includes telnyx-signature-ed25519 and telnyx-timestamp headers. Always verify signatures in production:

bash
# Telnyx signs webhooks with Ed25519 (asymmetric — NOT HMAC/Standard Webhooks).
# Headers sent with each webhook:
#   telnyx-signature-ed25519: base64-encoded Ed25519 signature
#   telnyx-timestamp: Unix timestamp (reject if >5 minutes old for replay protection)
#
# Get your public key from: Telnyx Portal > Account Settings > Keys & Credentials
# Use the Telnyx SDK in your language for verification (client.webhooks.unwrap).
# Your endpoint MUST return 2xx within 2 seconds or Telnyx will retry (up to 3 attempts).
# Configure a failover URL in Telnyx Portal for additional reliability.

Webhooks

These webhook payload fields are inline because they are part of the primary integration path.

Campaign Status Update

FieldTypeDescription
brandIdstringBrand ID associated with the campaign.
campaignIdstringThe ID of the campaign.
createDatestringUnix timestamp when campaign was created.
cspIdstringAlphanumeric identifier of the CSP associated with this campaign.
isTMobileRegisteredbooleanIndicates whether the campaign is registered with T-Mobile.
typeenum: TELNYX_EVENT, REGISTRATION, MNO_REVIEW, TELNYX_REVIEW, NUMBER_POOL_PROVISIONED, NUMBER_POOL_DEPROVISIONED, TCR_EVENT, VERIFIED
descriptionstringDescription of the event.
statusenum: ACCEPTED, REJECTED, DORMANT, success, failedThe status of the campaign.

If you need webhook fields that are not listed inline here, read the webhook payload reference before writing the handler.


Important Supporting Operations

Use these when the core tasks above are close to your flow, but you need a common variation or follow-up step.

Get Brand

Inspect the current state of an existing brand registration.

GET /10dlc/brand/{brandId}

ParameterTypeRequiredDescription
brandIdstring (UUID)YesUnique identifier of the brand.
bash
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/10dlc/brand/BXXX001"

Primary response fields:

  • .data.status
  • .data.state
  • .data.altBusinessId
  • .data.altBusinessIdType
  • .data.assignedCampaignsCount
  • .data.brandId

Qualify By Usecase

Fetch the current state before updating, deleting, or making control-flow decisions.

GET /10dlc/campaignBuilder/brand/{brandId}/usecase/{usecase}

ParameterTypeRequiredDescription
usecasestringYesUnique identifier of the usecase.
brandIdstring (UUID)YesUnique identifier of the brand.
bash
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/10dlc/campaignBuilder/brand/BXXX001/usecase/{usecase}"

Primary response fields:

  • .data.annualFee
  • .data.maxSubUsecases
  • .data.minSubUsecases
  • .data.mnoMetadata
  • .data.monthlyFee
  • .data.quarterlyFee

Create New Phone Number Campaign

Create or provision an additional resource when the core tasks do not cover this flow.

POST /10dlc/phone_number_campaigns

ParameterTypeRequiredDescription
phoneNumberstring (E.164)YesThe phone number you want to link to a specified campaign.
campaignIdstring (UUID)YesThe ID of the campaign you want to link to the specified pho...
bash
curl \
  -X POST \
  -H "Authorization: Bearer $TELNYX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "phoneNumber": "+18005550199",
  "campaignId": "4b300178-131c-d902-d54e-72d90ba1620j"
}' \
  "https://api.telnyx.com/v2/10dlc/phone_number_campaigns"

Primary response fields:

  • .data.assignmentStatus
  • .data.brandId
  • .data.campaignId
  • .data.createdAt
  • .data.failureReasons
  • .data.phoneNumber

Get campaign

Inspect the current state of an existing campaign registration.

GET /10dlc/campaign/{campaignId}

ParameterTypeRequiredDescription
campaignIdstring (UUID)YesUnique identifier of the campaign.
bash
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/10dlc/campaign/CXXX001"

Primary response fields:

  • .data.status
  • .data.ageGated
  • .data.autoRenewal
  • .data.billedDate
  • .data.brandDisplayName
  • .data.brandId

List Brands

Inspect available resources or choose an existing resource before mutating it.

GET /10dlc/brand

ParameterTypeRequiredDescription
sortenum (assignedCampaignsCount, -assignedCampaignsCount, brandId, -brandId, createdAt, ...)NoSpecifies the sort order for results.
pageintegerNoPage number to retrieve (1-based).
recordsPerPageintegerNonumber of records per page.
...+6 optional params in references/api-details.md
bash
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/10dlc/brand?sort=-identityStatus&brandId=826ef77a-348c-445b-81a5-a9b13c68fbfe&tcrBrandId=BBAND1"

Primary response fields:

  • .data.page
  • .data.records
  • .data.totalRecords

Get Brand Feedback By Id

Fetch the current state before updating, deleting, or making control-flow decisions.

GET /10dlc/brand/feedback/{brandId}

ParameterTypeRequiredDescription
brandIdstring (UUID)YesUnique identifier of the brand.
bash
curl -H "Authorization: Bearer $TELNYX_API_KEY" "https://api.telnyx.com/v2/10dlc/brand/feedback/BXXX001"

Primary response fields:

  • .data.brandId
  • .data.category

Additional Operations

Use the core tasks above first. The operations below are indexed here with exact SDK methods and required params; use references/api-details.md for full optional params, response schemas, and lower-frequency webhook payloads. Before using any operation below, read the optional-parameters section and the response-schemas section so you do not guess missing fields.

OperationSDK methodEndpointUse whenRequired params
Get Brand SMS OTP StatusHTTP onlyGET /10dlc/brand/smsOtp/{referenceId}Fetch the current state before updating, deleting, or making control-flow decisions.referenceId
Update BrandHTTP onlyPUT /10dlc/brand/{brandId}Inspect the current state of an existing brand registration.entityType, displayName, country, email, +2 more
Delete BrandHTTP onlyDELETE /10dlc/brand/{brandId}Inspect the current state of an existing brand registration.brandId
Resend brand 2FA emailHTTP onlyPOST /10dlc/brand/{brandId}/2faEmailCreate or provision an additional resource when the core tasks do not cover this flow.brandId
List External VettingsHTTP onlyGET /10dlc/brand/{brandId}/externalVettingFetch the current state before updating, deleting, or making control-flow decisions.brandId
Order Brand External VettingHTTP onlyPOST /10dlc/brand/{brandId}/externalVettingCreate or provision an additional resource when the core tasks do not cover this flow.evpId, vettingClass, brandId
Import External Vetting RecordHTTP onlyPUT /10dlc/brand/{brandId}/externalVettingModify an existing resource without recreating it.evpId, vettingId, brandId
Revet BrandHTTP onlyPUT /10dlc/brand/{brandId}/revetModify an existing resource without recreating it.brandId
Get Brand SMS OTP Status by Brand IDHTTP onlyGET /10dlc/brand/{brandId}/smsOtpFetch the current state before updating, deleting, or making control-flow decisions.brandId
Trigger Brand SMS OTPHTTP onlyPOST /10dlc/brand/{brandId}/smsOtpCreate or provision an additional resource when the core tasks do not cover this flow.pinSms, successSms, brandId
Verify Brand SMS OTPHTTP onlyPUT /10dlc/brand/{brandId}/smsOtpModify an existing resource without recreating it.otpPin, brandId
List CampaignsHTTP onlyGET /10dlc/campaignInspect available resources or choose an existing resource before mutating it.None
Accept Shared CampaignHTTP onlyPOST /10dlc/campaign/acceptSharing/{campaignId}Create or provision an additional resource when the core tasks do not cover this flow.campaignId
Get Campaign CostHTTP onlyGET /10dlc/campaign/usecase/costInspect available resources or choose an existing resource before mutating it.None
Update campaignHTTP onlyPUT /10dlc/campaign/{campaignId}Inspect the current state of an existing campaign registration.campaignId
Deactivate campaignHTTP onlyDELETE /10dlc/campaign/{campaignId}Inspect the current state of an existing campaign registration.campaignId
Submit campaign appeal for manual reviewHTTP onlyPOST /10dlc/campaign/{campaignId}/appealCreate or provision an additional resource when the core tasks do not cover this flow.appeal_reason, campaignId
Get Campaign Mno MetadataHTTP onlyGET /10dlc/campaign/{campaignId}/mnoMetadataFetch the current state before updating, deleting, or making control-flow decisions.campaignId
Get campaign operation statusHTTP onlyGET /10dlc/campaign/{campaignId}/operationStatusFetch the current state before updating, deleting, or making control-flow decisions.campaignId
Get OSR campaign attributesHTTP onlyGET /10dlc/campaign/{campaignId}/osr/attributesFetch the current state before updating, deleting, or making control-flow decisions.campaignId
Get Sharing StatusHTTP onlyGET /10dlc/campaign/{campaignId}/sharingFetch the current state before updating, deleting, or making control-flow decisions.campaignId
List shared partner campaignsHTTP onlyGET /10dlc/partnerCampaign/sharedByMeInspect available resources or choose an existing resource before mutating it.None
Get Sharing StatusHTTP onlyGET /10dlc/partnerCampaign/{campaignId}/sharingFetch the current state before updating, deleting, or making control-flow decisions.campaignId
List Shared CampaignsHTTP onlyGET /10dlc/partner_campaignsInspect available resources or choose an existing resource before mutating it.None
Get Single Shared CampaignHTTP onlyGET /10dlc/partner_campaigns/{campaignId}Fetch the current state before updating, deleting, or making control-flow decisions.campaignId
Update Single Shared CampaignHTTP onlyPATCH /10dlc/partner_campaigns/{campaignId}Modify an existing resource without recreating it.campaignId
Get Assignment Task StatusHTTP onlyGET /10dlc/phoneNumberAssignmentByProfile/{taskId}Fetch the current state before updating, deleting, or making control-flow decisions.taskId
Get Phone Number StatusHTTP onlyGET /10dlc/phoneNumberAssignmentByProfile/{taskId}/phoneNumbersFetch the current state before updating, deleting, or making control-flow decisions.taskId
List phone number campaignsHTTP onlyGET /10dlc/phone_number_campaignsInspect available resources or choose an existing resource before mutating it.None
Get Single Phone Number CampaignHTTP onlyGET /10dlc/phone_number_campaigns/{phoneNumber}Fetch the current state before updating, deleting, or making control-flow decisions.phoneNumber
Create New Phone Number CampaignHTTP onlyPUT /10dlc/phone_number_campaigns/{phoneNumber}Modify an existing resource without recreating it.phoneNumber, campaignId, phoneNumber
Delete Phone Number CampaignHTTP onlyDELETE /10dlc/phone_number_campaigns/{phoneNumber}Remove, detach, or clean up an existing resource.phoneNumber

For exhaustive optional parameters, full response schemas, and complete webhook payloads, see references/api-details.md.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Telnyx 10dlc Curl?

10DLC brand and campaign registration for US A2P messaging compliance. Assign phone numbers to campaigns.

Firwat Telnyx 10dlc Curl op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Telnyx 10dlc Curl besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Telnyx 10dlc Curl an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/team-telnyx/ai/tree/main/providers/claude/plugins/telnyx-numbers/skills/telnyx-10dlc-curl an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Telnyx 10dlc Curl benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Telnyx 10dlc Curl benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Telnyx 10dlc Curl domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Telnyx 10dlc Curl gratis?

Jo. team-telnyx huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇