> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pipecorn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Find new hires

> Find people who recently changed jobs and match your ICP

Track when companies make new hires matching specific ICP.
This endpoint creates a weekly tracking task that will notify you through a webhook when matching new hires are found.

### Use Cases

* Monitor when competitors hire for specific roles
* Track hiring trends in your target market
* Identify companies expanding specific departments
* Get notified about potential customer expansion signals

## Location IDs Reference

Location IDs used in this endpoint can be retrieved using the [Location Ids endpoint](/api-reference/endpoints/miscellaneous/location-ids). Simply provide a location name (e.g., "San Francisco") and the API will return all matching locations with their IDs.


## OpenAPI

````yaml POST /intents/leads/find_new_hires
openapi: 3.0.1
info:
  title: Pipecorn Accounts API
  description: Pipecorn Accounts API
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.pipecorn.com/api/v2/
security:
  - defaultApiKey: []
paths:
  /intents/leads/find_new_hires:
    post:
      summary: Find new hires
      description: Find people who recently changed jobs and match your ICP
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - webhook_url
              properties:
                webhook_url:
                  type: string
                  format: uri
                  description: URL to receive new hire notifications
                  example: https://your-company.com/webhooks/new_hires
                persona_id:
                  type: string
                  description: Persona ID to target specific roles
                  example: persona_abc123
                headcount:
                  type: array
                  items:
                    type: string
                    enum:
                      - A
                      - B
                      - C
                      - D
                      - E
                      - F
                      - G
                      - H
                      - I
                  description: Company headcount range filters
                  example:
                    - C
                    - D
                    - E
                industries:
                  type: array
                  items:
                    type: string
                  description: Industry filters
                  example:
                    - Software Development
                location_ids:
                  type: array
                  items:
                    type: integer
                  description: Location IDs to filter by
                  example:
                    - 103644278
                domain_allow_list:
                  type: array
                  items:
                    type: string
                  description: Only include companies from these domains
                  example:
                    - acme.com
                domain_deny_list:
                  type: array
                  items:
                    type: string
                  description: Exclude companies from these domains
                  example:
                    - competitor.com
      responses:
        '200':
          description: New hire search results
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Unique identifier for the search
                    example: abc123
                  status:
                    type: string
                    description: Status of the search
                    example: pending
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    defaultApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````