Call via curl / CI
curl -sS -X POST https://pltv.io/api/validate-payload \
-H "Content-Type: application/json" \
-d '{"platform":"meta","payload":{"data":[{"event_name":"PredictedLTV","event_time":1764936000,"event_id":"ord_1","user_data":{"fbp":"fb.1.1764935900.123"},"custom_data":{"currency":"USD","value":148.5}}]}}'
Frequently Asked Questions
Can I call the payload validator from CI/CD or curl?
Yes. Send a POST request to https://pltv.io/api/validate-payload with JSON body {"platform": "meta", "payload": {...}}. It returns HTTP 200 with structured valid, score, errors, warnings, and passed arrays.