cURL
curl --request POST \ --url https://public.plai.io/meta/check_leadform_tos \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "userId": "<string>" }'
{ "success": true, "results": { "success": true, "hasAgreeToTos": true, "error": "<string>" } }
This endpoint checks whether the user has accepted the Terms of Service for their connected facebook page. It is used to verify compliance before allowing actions such as advertising or lead form creation.
Show Results