$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "currentItems": [
< {
< "id": "l1",
< "query": "industrial robotics integrator texas",
< "position": 2,
< "title": "Austin Robotics Integration",
< "url": "https://robotics.example",
< "snippet": "Industrial robot integration and automation services",
< "email": "sales@robotics.example",
< "phone": "+1 555 0199"
< },
< {
< "id": "l2",
< "query": "industrial robotics integrator texas",
< "position": 5,
< "title": "Robotics News Directory",
< "url": "https://directory.example",
< "snippet": "Industry news and listings"
< }
< ],
< "previousItems": [
< {
< "id": "l1",
< "query": "industrial robotics integrator texas",
< "position": 6,
< "title": "Austin Robotics Integration",
< "url": "https://robotics.example",
< "snippet": "Industrial robot integration",
< "email": "sales@robotics.example"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/quanmatrix~google-search-lead-enrichment-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'