# Save a template preset
curl -X POST https://api.spidra.io/api/presets \
-H "Authorization: Bearer $SPIDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "kind": "template", "name": "Dentists in Lekki", "template": "google-maps-leads",
"inputs": { "query": "dentist", "areas": ["Lekki, Lagos"] } }'
# Run it, changing one input for this run only
curl -X POST https://api.spidra.io/api/presets/PRESET_ID/runs \
-H "Authorization: Bearer $SPIDRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "overrides": { "areas": ["Ikeja, Lagos"] } }'