$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searches": [
< {
< "keywords": "Product Designer",
< "location": "United States",
< "postedWithin": "past-week",
< "workplaceType": "remote"
< },
< {
< "keywords": "Growth Marketer",
< "location": "London",
< "postedWithin": "past-month",
< "workplaceType": "hybrid"
< }
< ],
< "searchKeywords": "Product Designer",
< "searchLocation": "United States",
< "jobs": [
< {
< "title": "Product Designer",
< "company": "ExampleCo",
< "location": "United States",
< "url": "https://www.linkedin.com/jobs/view/1234567890/",
< "description": "Own Figma prototyping, user research, design systems, and product collaboration."
< }
< ],
< "candidateProfile": {
< "targetRoles": [
< "Product Designer"
< ],
< "coreSkills": [
< "figma",
< "design systems",
< "user research"
< ],
< "avoidKeywords": [
< "internship",
< "unpaid"
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/immense_greenery~linkedin-application-copilot/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'