$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< {
< "url": "https://www.linkedin.com/in/elon-musk-elonmusk-6648688b"
< }
< ],
< "gpt_api_key": "your_api_key",
< "instructions": "Is this person a good candidate for the following job description : Sales Manager of a car company? Why? Also, Add a rating from 0 to 10 to summarize.",
< "cookies": [
< {
< "domain": ".linkedin.com",
< "expirationDate": 1721120692,
< "hostOnly": false,
< "httpOnly": false,
< "name": "xxxx_14215E3D5995C57C0A495C55%xxxx",
< "path": "/",
< "sameSite": "unspecified",
< "secure": false,
< "session": false,
< "storeId": "0",
< "value": "-637568504%7CMCIDTS%7C19xxxxxxxxxxxxx",
< "id": 1
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/anchor~linkedin-gpt-prompt/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'