$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "twPostUrl": "https://x.com/example/status/1234567890",
< "auth_token": "example_auth_token",
< "ct0": "example_ct0",
< "kdt": "example_kdt",
< "twid": "1234567890",
< "user-agent": "Mozilla/5.0 ...",
< "bearerToken": "Bearer example",
< "guest_token": "1234567890",
< "sec-ch-ua-platform": "macOS",
< "authorization": "Bearer example",
< "User-Agent": "Mozilla/5.0 ...",
< "x-csrf-token": "example_x-csrf-token",
< "txSmSelfProfileUrl": "https://twitter.com/example_self",
< "proxy": {
< "ip": "http://proxy.example.com",
< "port": "1080",
< "username": "example_username",
< "password": "example_password"
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/automationagents~twitter-tweet-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'