$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< "https://twitter.com/apify",
< "https://twitter.com/search?q=apify%20&src=typed_query",
< "https://twitter.com/i/lists/78783491",
< "https://twitter.com/elonmusk/with_replies"
< ],
< "searchTerms": [
< "web scraping",
< "scraping from:apify"
< ],
< "twitterHandles": [
< "elonmusk",
< "taylorswift13"
< ],
< "conversationIds": [
< "1754067365707563045",
< "1732037140111102460"
< ],
< "maxItems": 1000,
< "sort": "Latest",
< "tweetLanguage": "en",
< "author": "apify",
< "inReplyTo": "webexpo",
< "mentioning": "elonmusk",
< "geotaggedNear": "Los Angeles",
< "withinRadius": "15km",
< "geocode": "37.7764685,-122.4172004,10km",
< "placeObjectId": "96683cc9126741d1",
< "minimumRetweets": 5,
< "minimumFavorites": 5,
< "minimumReplies": 5,
< "start": "2021-07-01",
< "end": "2021-07-02",
< "customMapFunction": "(object) => { return {...object} }"
<}
<EOF
$curl "https://api.apify.com/v2/acts/apidojo~tweet-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'