Validate A2P 10DLC campaigns from Claude Code
Wire A2PCheck into Claude Code (or Codex) so it pre-checks an A2P 10DLC campaign draft before you register it through a provider — catching the rejection risks while the agent can still fix them.
Guidance only — A2PCheck is independent and not affiliated with Twilio, The Campaign Registry, or any carrier, and we can't guarantee approval.
Add the skill
The skill folder ships in the source repo. Copy it where your agent loads skills:
cp -r skill ~/.agents/skills/a2pcheck
Not yet published to a skills registry — use the in-repo copy for now. The skill carries the campaign schema and the validate → remediate → re-validate workflow.
Or call it directly
No skill required — point the agent at the JSON endpoint. Default tier is basic; pass full to crawl URLs.
curl -sS -X POST https://www.a2pcheck.com/api/agent/validate \
-H "Content-Type: application/json" \
-d '{"tier":"full","campaign":{
"useCaseType":"MARKETING",
"campaignDescription":"...",
"sampleMessages":["...","..."],
"messageFlow":"...",
"websiteUrl":"https://yourbrand.example.com",
"privacyPolicyUrl":"https://yourbrand.example.com/privacy"
}}'The loop
- Build the campaign JSON; strip PII and secrets.
- POST it to
/api/agent/validate. - Read
overallTier,criticalIssues,fieldResults. - Apply the fix suggestions; re-validate until GREEN.
- Hand the cleared draft back — you submit it through your provider.
A2PCheck is independent, does not submit campaigns, and can't guarantee approval. Field reference: /llms-full.txt.