{
  "openapi": "3.0.1",
  "info": {
    "title": "🎯 LinkedIn Job Post ➔ Hiring Manager & Email Extractor",
    "description": "Extract the direct Hiring Manager, Head of Talent, or Department Decision-Maker from any LinkedIn Job Post with verified corporate B2B email and personalized outreach hooks.",
    "version": "1.0",
    "x-build-id": "1jjUUSdLLzdqpN1r4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_studio~linkedin-job-hiring-manager-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_studio-linkedin-job-hiring-manager-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/automation_studio~linkedin-job-hiring-manager-finder/runs": {
      "post": {
        "operationId": "runs-sync-automation_studio-linkedin-job-hiring-manager-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/automation_studio~linkedin-job-hiring-manager-finder/run-sync": {
      "post": {
        "operationId": "run-sync-automation_studio-linkedin-job-hiring-manager-finder",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "🎯 Input Mode",
            "enum": [
              "BY_URL",
              "BY_KEYWORD"
            ],
            "type": "string",
            "description": "Select your extraction mode: Target specific LinkedIn job postings via direct URLs, or automatically discover active job postings by Role / Keyword.",
            "default": "BY_URL"
          },
          "jobUrls": {
            "title": "🔗 LinkedIn Job URLs",
            "type": "array",
            "description": "Active when Input Mode is 'Direct LinkedIn Job URLs'. Paste one or more direct LinkedIn job post URLs (e.g. `https://www.linkedin.com/jobs/view/head-of-growth-at-stripe-4028591823`).",
            "default": [
              "https://www.linkedin.com/jobs/view/head-of-growth-at-stripe-4028591823"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchKeyword": {
            "title": "🔍 Job Title / Keyword Search",
            "type": "string",
            "description": "Active when Input Mode is 'Job Role / Keyword Search'. Keyword or role to search (e.g. 'Head of Growth', 'VP of Engineering', 'Account Executive').",
            "default": "Head of Growth"
          },
          "companyName": {
            "title": "🏢 Target Company Filter (Optional)",
            "type": "string",
            "description": "Optional: Filter jobs to a specific company (e.g. 'Stripe', 'HubSpot', 'Airbnb'). Leave blank in keyword mode to search across all companies.",
            "default": "Stripe"
          },
          "location": {
            "title": "📍 Location / Country",
            "type": "string",
            "description": "Location filter for job search (e.g. 'United States', 'San Francisco, CA', 'London, UK', 'Remote').",
            "default": "United States"
          },
          "maxJobs": {
            "title": "📊 Max Jobs to Process",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of job postings to analyze and extract hiring contacts for in this run. Default is 3 for instant <15s trial results.",
            "default": 3
          },
          "findVerifiedEmail": {
            "title": "📧 Discover & Verify Corporate Work Email",
            "type": "boolean",
            "description": "Resolve company domain, generate corporate permutations, and verify work email deliverability with DNS MX checks and pattern intelligence. Protected by our 'No Email, No Pay' guarantee.",
            "default": true
          },
          "generateOutreachHooks": {
            "title": "✍️ Generate Personalized Cold Outreach Hooks",
            "type": "boolean",
            "description": "Automatically craft customized, high-converting cold email subject lines and conversational opening hooks tailored to the specific job posting.",
            "default": true
          },
          "maxConcurrency": {
            "title": "⚡ Processing Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Number of job postings processed in parallel. Keep at 3–5 for optimal speed and reliability.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "🛡️ Apify Proxy Configuration",
            "type": "object",
            "description": "Apify Proxy ensures smooth, high-speed public page resolution without rate limiting.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}