Skip to content

Dynamic Cloaking Rules

Configure GhostFlow’s AI-powered cloaking system programmatically to adjust rules based on traffic patterns and campaign performance.

  • Safe page — The page shown to moderators and bots
  • Money page — The real offer page shown to qualified traffic
  • Cloaking rules — Conditions that determine which page to show
Terminal window
curl -X PUT https://devcore.getghostflow.io/api/v1/campaigns/{id} \
-H "Authorization: Bearer gf_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"cloaking": {
"enabled": true,
"mode": "ai_auto",
"geo_whitelist": ["US", "CA", "GB"],
"device_filter": "mobile_only"
}
}'

Your API key needs: read:campaigns, write:campaigns