$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "user_a": "elonmusk",
< "user_b": "BarackObama",
< "cookies": "[{\"domain\":\".x.com\",\"expirationDate\":1746856132.619477,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"__cf_bm\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"nxqSkSFt_3UkBWH576nmL44QmPDWzVDjgIkLfeLHOsM-1746854332-1.0.1.1-.D.PjFVYMhjL77et4PsMZlLNYXg4KRzBUFRqAWpRcQbXf6H_5DIZQulrUK7tu34y3rdkEuyq6rjjJfYYxoXEs5vG9W8r.OWN.0WehXsCBOU\",\"id\":1},{\"domain\":\".x.com\",\"expirationDate\":1781195046.756188,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"_ga\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"GA1.1.798476497.1746635047\",\"id\":2},{\"domain\":\".x.com\",\"expirationDate\":1781195575.696591,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"_ga_RJGMY4G45L\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":false,\"storeId\":\"0\",\"value\":\"GS2.1.s1746635046$o1$g0$t1746635575$j60$l0$h0\",\"id\":3},{\"domain\":\".x.com\",\"expirationDate\":1771085083.01971,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"auth_token\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"e8ebde28ed35f60bbaa480fadf171a2706262770\",\"id\":4},{\"domain\":\".x.com\",\"expirationDate\":1771085083.370993,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"ct0\",\"path\":\"/\",\"sameSite\":\"lax\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"b49f42546ed0263e7ed05dd736255e27cb99c44fb82abe573b42ae3132c7a5272856579502280f5624892335fcc0c6a686836b689565d9d0aaf4ad2c630fb7d77a67b7863020e130eeb1ed7dbf907a0c\",\"id\":5},{\"domain\":\".x.com\",\"expirationDate\":1767339612.610054,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"guest_id\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"v1%3A172490945488285787\",\"id\":6},{\"domain\":\".x.com\",\"expirationDate\":1781414587.680152,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"guest_id_ads\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"v1%3A172490945488285787\",\"id\":7},{\"domain\":\".x.com\",\"expirationDate\":1781414587.680395,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"guest_id_marketing\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"v1%3A172490945488285787\",\"id\":8},{\"domain\":\".x.com\",\"expirationDate\":1771085083.019629,\"hostOnly\":false,\"httpOnly\":true,\"name\":\"kdt\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"0MprSsNU5W2zirK0Kdo6YW1QFh58oyeb4Qw5RChk\",\"id\":9},{\"domain\":\".x.com\",\"expirationDate\":1778390588.734748,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"night_mode\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"2\",\"id\":10},{\"domain\":\".x.com\",\"expirationDate\":1768061146.52658,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"personalization_id\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"\\\"v1_fo7TidorU55HXywHnSY3Yw==\\\"\",\"id\":11},{\"domain\":\".x.com\",\"expirationDate\":1778390593.659738,\"hostOnly\":false,\"httpOnly\":false,\"name\":\"twid\",\"path\":\"/\",\"sameSite\":\"no_restriction\",\"secure\":true,\"session\":false,\"storeId\":\"0\",\"value\":\"u%3D1877748387220799489\",\"id\":12},{\"domain\":\"x.com\",\"hostOnly\":true,\"httpOnly\":false,\"name\":\"lang\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":false,\"session\":true,\"storeId\":\"0\",\"value\":\"en\",\"id\":13}]"
<}
<EOF
$curl "https://api.apify.com/v2/acts/deepanshusharm~twitter-follow-checker/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'