Compliance & Validation
Validate message compliance & character segments
GET
Evaluates recipient format, detects GSM-7 vs. UCS-2 Unicode characters, computes billable segment counts, and verifies anti-spam opt-out compliance.
header
X-Api-Key<token>SMS Pro API Key (sk_live_... or sk_test_...)
to*stringRecipient MSISDN
message*stringSMS text body
Compliance validation outcome
application/json- response
status?stringdata?curl -X GET 'https://api.smspro.com/api/v1/public/sms/validate?to=string&message=string'Example Response
{ "status": "string", "data": { "valid": true, "reason": "string" }}