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

# Company Webhooks

This webhook is called when the company search or company insights enrichment is complete. The payload contains the results of the request.

If your webhook endpoint is unavailable or returns an error, we will retry the request up to 3 times with exponential backoff.

### Webhook Payload Examples

<CodeGroup>
  ```json Standard Enrichments theme={null}
  {
    "enrichment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "results": [
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_linkedin": "https://www.linkedin.com/company/precept-ai",
        "custom_data": {
          "id": "12345",
          "crm_id": "01234"
        },
        "company_data": {
          "id": 12345,
          "company_name": "Precept AI",
          "website": "https://www.preceptai.co.uk"
        }
      },
      {
        "company_website": "https://www.unknown-company.com",
        "company_linkedin": "LinkedIn URL not found",
        "error": "Company not found"
      },
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_data": {
          "id": 12345,
          "company_name": "Precept AI",
          "website": "https://www.preceptai.co.uk"
        },
        "enrichment_errors": {
          "queries": "Failed to retrieve information for the query: 'What is their annual revenue?'"
        }
      }
    ]
  }
  ```

  ```json Decision Makers theme={null}
  {
    "enrichment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "results": [
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_linkedin": "https://www.linkedin.com/company/precept-ai",
        "custom_data": {
          "id": "0987",
          "crm_id": "6789"
        },
        "company_data": {
          "id": 12345,
          "company_name": "Precept AI",
          "website": "https://www.preceptai.co.uk"
        },
        "decision_makers": [
          {
            "name": "Jane Smith",
            "job_title": "Sales Manager",
            "company_name": "Precept AI",
            "linkedin": "https://www.linkedin.com/in/janesmith",
            "department": "sales",
            "enrich_email": "[EMAIL_ADDRESS]",
            "enrich_phone": "+1234567890"
          }
        ],
        "query_responses": [
          {
            "query": "What is their tech stack?",
            "text": "Precept AI uses React, Node.js, and Python."
          }
        ]
      }
    ]
  }
  ```

  ```json Employee Count theme={null}
  {
    "enrichment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "results": [
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_linkedin": "https://www.linkedin.com/company/precept-ai",
        "custom_data": {},
        "company_data": {
          "id": 12345,
          "company_name": "Precept AI",
          "website": "https://www.preceptai.co.uk"
        },
        "employee_count": [
          {
            "department": "engineering",
            "text": "25"
          },
          {
            "department": "sales",
            "text": "10"
          }
        ]
      }
    ]
  }
  ```

  ```json Revenue theme={null}
  {
    "enrichment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "results": [
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_linkedin": "https://www.linkedin.com/company/precept-ai",
        "custom_data": {
          "id": "123"
        },
        "company_data": {
          "id": 12345,
          "company_name": "Precept AI",
          "website": "https://www.preceptai.co.uk"
        },
        "revenue": "$10,000,000 estimated annual revenue as of 2024"
      }
    ]
  }
  ```

  ```json Recent Funding theme={null}
  {
    "enrichment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "results": [
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_linkedin": "https://www.linkedin.com/company/precept-ai",
        "company_data": {
          "id": 12345,
          "company_name": "Precept AI",
          "website": "https://www.preceptai.co.uk"
        },
        "company_recent_funding": "$25,000,000 raised on 2/1/2022"
      }
    ]
  }
  ```

  ```json Technology Stack theme={null}
  {
    "enrichment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "results": [
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_linkedin": "https://www.linkedin.com/company/precept-ai",
        "company_data": {
          "id": 12345,
          "company_name": "Precept AI",
          "website": "https://www.preceptai.co.uk"
        },
        "technology_stack": "Precept AI uses a modern tech stack including React, TypeScript, Node.js, and Firebase."
      }
    ]
  }
  ```

  ```json Job Posting Insights theme={null}
  {
    "enrichment_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
    "results": [
      {
        "company_website": "https://www.preceptai.co.uk",
        "company_linkedin": "https://www.linkedin.com/company/precept-ai",
        "custom_data": {
          "id": "12345"
        },
        "job_posting_insights": [
          {
            "department": "engineering",
            "text": "**Job postings found: 12**.\n\nPrecept AI is actively hiring for its engineering team to scale its core infrastructure and develop new AI-driven features.\n\n**Unique company-specific problems:**\n- Optimizing high-throughput data pipelines for real-time lead processing.\n- Implementing advanced LLM orchestration for automated company research.\n- Ensuring zero-downtime deployments for global API consumers.\n\n**Current company goals and strategic initiatives:**\n- Scaling the platform to handle 10x more concurrent users by year-end.\n- Launching a secondary localized product suite for the European market.\n- Transitioning to a serverless edge architecture for lower latency.\n\n**Key technologies and tools:**\n- TypeScript and Node.js for backend services.\n- Google Cloud Platform and Firebase for infrastructure.\n- OpenAI and Anthropic APIs for AI capabilities."
          }
        ]
      }
    ]
  }
  ```
</CodeGroup>
