curl -X POST "https://api.whizo.ai/v1/monitors" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"name": "Homepage Monitor",
"schedule": "0 */6 * * *",
"options": {
"detectChanges": true,
"threshold": 0.1,
"notifications": {
"email": "[email protected]",
"webhook": "https://myapp.com/webhook"
}
}
}'