POST
/validate-message
Validate SMS message compliance with carrier requirements and TCPA regulations. Returns compliance score, violations, and warnings.
Request Body
{
"message": "Acme Corp: Your order shipped! Track: https://acme.com/track. Reply STOP to opt out."
}
Response
{
"score": 92,
"characters": 78,
"segments": 1,
"encoding": "GSM-7",
"violations": [],
"warnings": ["Consider adding HELP keyword"],
"passed": ["Brand identification", "Opt-out language", "URL included"],
"tokens_remaining": 49
}