> ## 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.

# Track job changes

> Track job changes for a list of LinkedIn profiles

This endpoint allows you to monitor job changes for a list of contacts on LinkedIn. When any of the tracked contacts changes their job, you'll receive a notification through the specified webhook URL.

## Use Cases

* Monitor when your champions or product users change jobs
* Track career movements of potential leads
* Stay informed about your network's professional changes

## Important Notes

* You can identify contacts either by their LinkedIn URL or by their name and current company
* The system checks for job changes daily

## Contact Identification

You can identify contacts in two ways:

1. **Using LinkedIn URL**

   ```json theme={null}
   {
     "linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/"
   }
   ```

2. **Using Name and Company**
   ```json theme={null}
   {
     "first_name": "Nicolas",
     "last_name": "Fernandez Le Follic",
     "company_name": "Pipecorn"
   }
   ```

## Webhook Notifications

When a contact changes their job, you'll receive a webhook notification with details about the change. Make sure your webhook endpoint is ready to receive POST requests.


## OpenAPI

````yaml POST /intents/leads/track_job_changes
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/track_job_changes:
    post:
      summary: Track job changes
      description: Track job changes for a list of LinkedIn profiles
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - webhook_url
                - linkedin_profile_urls
              properties:
                webhook_url:
                  type: string
                  format: uri
                  description: URL to receive job change notifications
                  example: https://your-company.com/webhooks/job_changes
                linkedin_profile_urls:
                  type: array
                  items:
                    type: string
                    format: uri
                  description: List of LinkedIn profile URLs to track for job changes
                  example:
                    - https://www.linkedin.com/in/john-doe
                    - https://www.linkedin.com/in/jane-smith
      responses:
        '200':
          description: Job change tracking initiated
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: Unique identifier for the tracking search
                    example: abc123
                  status:
                    type: string
                    description: Status of the tracking 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

````