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

# Search Single Contact

> Find and enrich a single contact using various search criteria. You can search by name, email, 
LinkedIn URL, or Person Id.
>##### Endpoint
  ```
GET https://api.lusha.com/v2/person
  ```


>##### Search Requirements
  
You must provide either:
- `personId` OR
- `email` OR
- `linkedinUrl` OR
- `firstName` AND `lastName` AND (`companyName` OR `companyDomain`)

>##### Notes: 
- Provide as much information as possible for better results
- Using `personId` provides the most direct way to retrieve contact information, as it uniquely identifies a contact in Lusha's database.
- Use `refreshJobInfo=true` to get the latest employment data
- Use `filterBy` parameter to specify what contact details you need
- Include the `signals` parameter to retriever contact signals (If no signals data is found for the specified period, the `signals` object will be empty but still present in the response.)
  - When requesting signals, you can optionally specify a start date using `signalsStartDate`.
  - Signals data is optional. If you don't include the `signals` parameter, no signals data will be returned.

  

---

⚠️ **Important Notice - Unified Credits Plan Required**

| Parameter | Requirement |
|-----------|-------------|
| `revealEmails` and `revealPhones` | Only available to customers on the **Unified Credits** pricing plan |
| Plan Restriction | Attempting to use these parameters on other plans will result in a **403 Unauthorized** error |
| Default Behavior | When neither parameter is used, the API returns **both email addresses and phone numbers**, if available |

---




## OpenAPI

````yaml /v2/openapi.json get /v2/person
openapi: 3.0.3
info:
  title: Lusha API Documentation
  version: 0.0.1
  x-logo:
    url: https://www.lusha.com/logo.png
  license:
    name: Proprietary
    url: https://lusha.com/legal/terms
  description: >
    Lusha provides a RESTful API that allows you to query a comprehensive
    dataset of business profiles and company information.

    It is designed for teams building prospecting, enrichment, automation, and
    analytics workflows that require accurate, continuously updated business
    data. The API supports both real-time and bulk use cases and is suitable for
    production environments.

    Use the Lusha API to search for new prospects, enrich existing records,
    react to real-world changes, and expand coverage using lookalike
    recommendations. 


    *All API requests should be made over HTTPS (SSL), and the response bodies
    are delivered in JSON format.*

    ---
        <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
            margin: 0;
            padding: 0;
            background: #ffffff;
        }
        
        .endpoint-link {
            color: #0969da;
            text-decoration: none;
            transition: all 0.2s ease;
        }
        
        .endpoint-link:hover {
            color: #0550ae;
            text-decoration: underline;
        }
        
        .endpoint-url {
            font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
            font-size: 9px;
            color: #6b7280;
            background: #f3f4f6;
            padding: 3px 6px;
            border-radius: 4px;
            margin-top: 8px;
            margin-bottom: 10px;
            display: inline-block;
        }
        
        /* Style for better hover effect */
        details summary:hover {
            color: #4b5563;
        }
    </style>

    <div style="max-width: 900px; margin: 0 auto; padding: 15px;">
        <div style="display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;">
            
            <!-- Person Card -->
            <div style="background: #fafbfc; border: 1px solid #d1d5db; border-radius: 6px; padding: 14px; min-height: 160px;">
                <h3 style="margin: 0 0 8px 0; color: #1f2937; font-size: 14px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb;">
                    Person
                </h3>
                <ul style="font-size: 12px; line-height: 1.4; margin: 0; padding-left: 0; list-style: none;">
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/enrichment/searchsinglecontact" class="endpoint-link">Person Enrichment</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/prospecting-search-and-enrich/searchprospectingcontacts" class="endpoint-link">Contact Search & Enrich</a></li>
                </ul>
                
                <div class="endpoint-url">https://api.lusha.com/v2/person</div>
                
                <details style="margin-top: 10px; padding-top: 8px; border-top: 1px solid #e5e7eb;">
                    <summary style="cursor: pointer; font-size: 10px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 6px 0; list-style: none;">
                        ▶ Common Use Cases
                    </summary>
                    <ul style="font-size: 11px; line-height: 1.4; margin: 0; padding-left: 14px; list-style: none; color: #4b5563;">
                        <li style="padding: 1px 0;">• Form enrichment</li>
                        <li style="padding: 1px 0;">• CRM completion</li>
                        <li style="padding: 1px 0;">• Outbound personalization</li>
                    </ul>
                </details>
            </div>

            <!-- Company Card -->
            <div style="background: #fafbfc; border: 1px solid #d1d5db; border-radius: 6px; padding: 14px; min-height: 160px;">
                <h3 style="margin: 0 0 8px 0; color: #1f2937; font-size: 14px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb;">
                    Company
                </h3>
                <ul style="font-size: 12px; line-height: 1.4; margin: 0; padding-left: 0; list-style: none;">
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/enrichment/searchsinglecompanyv2" class="endpoint-link">Company Enrichment</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/prospecting-search-and-enrich/searchprospectingcompanies" class="endpoint-link">Company Search & Enrich</a></li>
                </ul>
                
                <div class="endpoint-url">https://api.lusha.com/v2/company</div>
                
                <details style="margin-top: 10px; padding-top: 8px; border-top: 1px solid #e5e7eb;">
                    <summary style="cursor: pointer; font-size: 10px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 6px 0; list-style: none;">
                        ▶ Common Use Cases
                    </summary>
                    <ul style="font-size: 11px; line-height: 1.4; margin: 0; padding-left: 14px; list-style: none; color: #4b5563;">
                        <li style="padding: 1px 0;">• Account enrichment</li>
                        <li style="padding: 1px 0;">• Routing, scoring, territory logic</li>
                        <li style="padding: 1px 0;">• Market analysis & segmentation</li>
                    </ul>
                </details>
            </div>

            <!-- Signals Card -->
            <div style="background: #fafbfc; border: 1px solid #d1d5db; border-radius: 6px; padding: 14px; min-height: 160px;">
                <h3 style="margin: 0 0 8px 0; color: #1f2937; font-size: 14px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb;">
                    Signals
                </h3>
                <ul style="font-size: 12px; line-height: 1.4; margin: 0; padding-left: 0; list-style: none;">
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/signals/getcontactsignalsbyid" class="endpoint-link">Contact Signals</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/signals/getcompanysignalsbyid" class="endpoint-link">Company Signals</a></li>
                </ul>
                
                <div class="endpoint-url">https://api.lusha.com/v2/signals</div>
                
                <details style="margin-top: 10px; padding-top: 8px; border-top: 1px solid #e5e7eb;">
                    <summary style="cursor: pointer; font-size: 10px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 6px 0; list-style: none;">
                        ▶ Common Use Cases
                    </summary>
                    <ul style="font-size: 11px; line-height: 1.4; margin: 0; padding-left: 14px; list-style: none; color: #4b5563;">
                        <li style="padding: 1px 0;">• Job change tracking</li>
                        <li style="padding: 1px 0;">• Company updates signals</li>
                        <li style="padding: 1px 0;">• News event alerts</li>
                    </ul>
                </details>
            </div>

            <!-- Lookalikes Card -->
            <div style="background: #fafbfc; border: 1px solid #d1d5db; border-radius: 6px; padding: 14px; min-height: 160px;">
                <h3 style="margin: 0 0 8px 0; color: #1f2937; font-size: 14px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb;">
                    Lookalikes
                </h3>
                <ul style="font-size: 12px; line-height: 1.4; margin: 0; padding-left: 0; list-style: none;">
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/lookalikes/getcontactlookalikes" class="endpoint-link">Similar Contacts</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/lookalikes/getcompanylookalikes" class="endpoint-link">Similar Companies</a></li>
                </ul>
                
                <div class="endpoint-url">https://api.lusha.com/v3/lookalike</div>
                
                <details style="margin-top: 10px; padding-top: 8px; border-top: 1px solid #e5e7eb;">
                    <summary style="cursor: pointer; font-size: 10px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 6px 0; list-style: none;">
                        ▶ Common Use Cases
                    </summary>
                    <ul style="font-size: 11px; line-height: 1.4; margin: 0; padding-left: 14px; list-style: none; color: #4b5563;">
                        <li style="padding: 1px 0;">• Market expansion</li>
                        <li style="padding: 1px 0;">• Similar account discovery</li>
                        <li style="padding: 1px 0;">• Prospect recommendations</li>
                    </ul>
                </details>
            </div>

            <!-- Filters Card -->
            <div style="background: #fafbfc; border: 1px solid #d1d5db; border-radius: 6px; padding: 14px; min-height: 160px;">
                <h3 style="margin: 0 0 8px 0; color: #1f2937; font-size: 14px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb;">
                    Filters
                </h3>
                <ul style="font-size: 12px; line-height: 1.4; margin: 0; padding-left: 0; list-style: none;">
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/signals/getsignaloptions" class="endpoint-link">Signal Options</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/contact-filters" class="endpoint-link">Contact Filters</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/company-filters" class="endpoint-link">Company Filters</a></li>
                </ul>
            </div>

            <!-- Account Card -->
            <div style="background: #fafbfc; border: 1px solid #d1d5db; border-radius: 6px; padding: 14px; min-height: 160px;">
                <h3 style="margin: 0 0 8px 0; color: #1f2937; font-size: 14px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb;">
                    Account
                </h3>
                <ul style="font-size: 12px; line-height: 1.4; margin: 0; padding-left: 0; list-style: none;">
                    <li style="padding: 2px 0;">• <a href="/guides" class="endpoint-link">Getting started</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/account-management/getaccountusagestats" class="endpoint-link">Credit Usage</a></li>
                    <li style="padding: 2px 0;">• <a href="/apis/openapi/section/rate-limiting" class="endpoint-link">Rate Limits</a></li>
                </ul>
            </div>

        </div>
    </div>

      <!-- NEW WEBHOOKS FEATURED BANNER -->
      <div style="background: #f8f9fa; border: 1px solid #e5e7eb; padding: 18px 20px; border-radius: 8px; margin-top: 20px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);">
          <div style="display: flex; align-items: center; gap: 14px;">
              <div style="flex: 1;">
                  <div style="display: flex; align-items: center; gap: 8px; margin-bottom: 6px;">
                      <strong style="font-size: 16px; color: #1f2937;">Webhooks API</strong>
                      **NEW**
                  </div>
                  <p style="font-size: 13px; margin: 0 0 12px 0; color: #6b7280; line-height: 1.5;">
                      Subscribe to real-time notifications when contacts change jobs or companies experience key business events.
                  </p>
                  <a href="/apis/openapi/webhooks" style="background: #2563eb; color: white; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 12px; font-weight: 600; display: inline-block; transition: all 0.2s;">
                      View Documentation →
                  </a>
              </div>
          </div>
      </div>

    <script>
        // JavaScript to rotate the arrow when expanded
        document.addEventListener('DOMContentLoaded', function() {
            const details = document.querySelectorAll('details');
            details.forEach(detail => {
                detail.addEventListener('toggle', function() {
                    const summary = this.querySelector('summary');
                    if (summary) {
                        if (this.open) {
                            summary.innerHTML = '▼ Common Use Cases';
                        } else {
                            summary.innerHTML = '▶ Common Use Cases';
                        }
                    }
                });
            });
        });
    </script>



    ---

    **<strong style="font-size: 1.2em; display: block; margin: 20px 0 10px
    0;">Data Source and Privacy</strong>**


    Please note that **Lusha is a search platform**, meaning the data provided
    is not created or directly managed by us. Instead, it is retrieved from
    publicly available sources and through contributions from trusted business
    partners.


    For more information on how we collect, use, and handle business profiles,
    please refer to our [Privacy
    Policy](https://lusha.com/legal/privacy-notice/).

    ----

    ## Authentication

    API keys are required for all API and MCP requests and are tied to your
    Lusha account and plan. To access the Lusha API, you must authenticate your
    requests using your API key. This key is unique to your account and is used
    to identify your usage of the API.

    <strong style="font-size: 1.2em; display: block; margin: 20px 0 10px 0;">How
    to Authenticate:</strong>

     When making an API call, include your API key in the `api_key` header of the
    request.

    > You can generate and retrieve your API key
    [here](https://dashboard.lusha.com/api/manage-api-keys).

    API keys should be stored securely and used only in server-side
    environments.


    ---


    ### Rate Limiting

    Lusha API enforces rate limiting to ensure fair usage and protect against
    excessive load.


    - **General Rate Limit**: You can make up to 25 requests per second to each
    API endpoint

    - **Credit Usage API**: Has a specific rate limit of 5 requests per minute

    > **Note**: Rate limits may vary based on your account type and subscription
    plan. 
     If you're encountering rate limit issues frequently, please consult with your 
     account manager or Lusha support team to discuss your specific needs.


    **Rate Limit Headers**


    To monitor your current rate limit status, check the HTTP response headers
    in your API calls:


    | Header | Description |

    |--------|-------------|

    | `x-rate-limit-daily` | The total number of requests allowed per day under
    your current plan |

    | `x-daily-requests-left` | The number of requests remaining in your daily
    quota |

    | `x-daily-usage` | The number of requests you have made in the current
    daily period |

    | `x-rate-limit-hourly` | The total number of requests allowed per hour
    under your current plan |

    | `x-hourly-requests-left` | The number of requests remaining in your hourly
    quota |

    | `x-hourly-usage` | The number of requests you have made in the current
    hourly period |

    | `x-rate-limit-minute` | The total number of requests allowed per minute
    under your current plan |

    | `x-minute-requests-left` | The number of requests remaining in your
    current minute window |

    | `x-minute-usage` | The number of requests you have made in the current
    minute window |


    **Notes on API Rate Limiting**

    - If you exceed the rate limit, the API will return a 429 (Too Many
    Requests) error.

    - To ensure a smooth experience, respect the rate limits defined by your
    subscription tier.

    - Daily limits vary based on your billing plan — higher tiers have higher
    quotas.

    - You can programmatically track your usage through these response headers:
      - `X-RateLimit-Remaining-Daily`
      - `X-RateLimit-Reset-Daily`
    - It is strongly recommended to implement logic that:
      - Monitors these headers
      - Pauses or retries requests accordingly
      - Helps avoid hitting the limit and ensures reliable operation

    ---

    ## Error Codes

    Lusha API uses standard HTTP response codes to indicate the status of your
    request. These codes help you understand whether the request was successful
    or if there was an issue.


    | Status Code | Name | Description |

    |-------------|------|-------------|

    | **200** | OK | Successful request |

    | **400** | Bad Request | Badly formatted request |

    | **401** | Unauthorized | The API key is invalid |

    | **402** | Payment Required | Your account requires payment |

    | **403** | Forbidden | Your account is not active. Please reach out to
    support at *support@lusha.com* for assistance |

    | **403** | Forbidden | Your pricing version does not support requesting
    individual datapoints [revealEmails, revealPhones] |

    | **404** | Not Found | The requested endpoint was not found |

    | **412** | Precondition Failed | The request failed due to invalid syntax
    that was provided. Please make sure to send a full name field that contains
    a valid first & last name |

    | **429** | Too Many Requests | You've reached your trial limit, please
    contact support for upgrade |

    | **429** | Too Many Requests | Daily API quota limit exceeded. Limit X
    calls per day |

    | **429** | Too Many Requests | Hourly API rate limit exceeded. Limit: X
    calls per hour. Reset in X seconds |

    | **451** | Unavailable For Legal Reasons | We are unable to process this
    contact request due to our GDPR regulations |

    | **499** | Client Closed Request | Request failed due to request timeout |

    | **5XX** | Server Error | There's a problem on Lusha's end |



    **Error Response Format**


    In case of an error, the response body will contain details about the error:


    ```json

    {
      "error": {
        "code": 400,
        "message": "Invalid request parameters"
      }
    }

    ```


    <strong style="font-size: 1.2em; display: block; margin: 20px 0 10px
    0;">Handling errors</strong>


    - Always ensure your API key is correct and valid

    - Pay attention to the specific error message and code to troubleshoot
    issues efficiently

    - Implement proper error handling and retry logic in your application

    - For 5XX errors, implement exponential backoff before retrying

        ---
  contact:
    name: Lusha Support
    url: https://api.lusha.com
    email: support@lusha.com
  termsOfService: https://lusha.com/legal/terms
  x-privacy-policy:
    name: Privacy Policy
    url: https://lusha.com/legal/privacy-notice/
servers:
  - url: https://api.lusha.com
    description: Production server
security:
  - ApiKeyAuth: []
tags:
  - name: Enrichment
    description: >-
      **What is enrichment?**:


      Enrichment is the process of adding missing or updated data to existing
      contact or company records.


      Use enrichment to:

      - Complete CRM records

      - Improve outbound accuracy and deliverability

      - Keep records current as people and companies change


      > Enrichment can be performed in real time or in bulk, depending on the
      endpoint and use case.


      **Available enrichment APIs**


      Person enrichment:

      - [**Search single
      contact**](/apis/openapi/enrichment/searchsinglecontact) - Enrich one
      contact at a time

      - [**Search multiple
      contacts**](/apis/openapi/enrichment/searchmultiplecontacts) - Bulk enrich
      contacts


      Company enrichment:

      - [**Search a single
      company**](/apis/openapi/enrichment/searchsinglecompanyv2) - Enrich one
      company at a time

      - [**Search multiple
      companies**](/apis/openapi/enrichment/searchmultiplecompaniesv2) - Bulk
      enrich companies
  - name: Prospecting - Search & Enrich
    description: >
      With Lusha's Prospecting API, you can query Lusha's extensive database
      based on specific criteria (such as job title, seniority, location, and
      more) to retrieve detailed contact and company information.


      The Prospecting API is designed to help you generate new records (contacts
      or companies) for your CRM system, using filters that align with your
      Ideal Customer Profile (ICP).


      This process involves three main steps:


      | Step | API | Description |

      |------|-----|-------------|

      | 1 | **Filters API** | Apply filters to refine your search *(Check
      available filters under [Contact](/apis/openapi/contact-filters) and
      [Company](/apis/openapi/company-filters) Filters)*|

      | 2 | **Search API** | Query
      [Contacts](/apis/openapi/prospecting-search-and-enrich/searchprospectingcontacts)
      or
      [Companies](/apis/openapi/prospecting-search-and-enrich/searchprospectingcompanies)
      using the available filters |

      | 3 | **Enrich API** | Get full details of
      [Contacts](/apis/openapi/prospecting-search-and-enrich/enrichprospectingcontacts)
      and
      [Companies](/apis/openapi/prospecting-search-and-enrich/enrichprospectingcompanies)
      from the search results |
    x-tag-expanded: true
  - name: Contact Filters
    description: Available filters for contact searches
    x-parent-tag: Prospecting
  - name: Company Filters
    description: Available filters for company searches
    x-parent-tag: Prospecting
  - name: Signals
    description: >-
      With Lusha’s Signals API, you can enrich your contacts and companies with
      timely insights that highlight key account and prospect changes. Signals
      help you identify moments of opportunity - from job moves and promotions
      to company growth and new initiatives - so you can engage prospects and
      customers at exactly the right time. Easily integrate signal data into
      enrichment flows, CRM systems, or automation workflows to keep pipelines
      and customer records always up to date.
    x-tag-expanded: true
  - name: Lookalikes
    description: >-
      Lusha's Lookalikes API helps you discover similar contacts and companies
      based on your existing data. Get AI-powered suggestions for new prospects
      that match your ideal customer profile.


      [**Contact Lookalikes**](/apis/openapi/lookalikes/getcontactlookalikes) -
      Find similar contacts based on role, seniority, and industry patterns.


      [**Company Lookalikes**](/apis/openapi/lookalikes/getcompanylookalikes)-
      Discover companies with similar firmographics and characteristics.
    x-tag-expanded: true
  - name: Webhooks
    description: >
      Subscribe to real-time notifications when contacts change jobs or
      companies experience key business events.


      Webhooks deliver HTTP POST requests to your endpoints when signals occur -
      from promotions and job changes to company growth.


      > For a full list of available signals, refer to [**Signal
      Options**](https://docs.lusha.com/apis/openapi/signals/getsignaloptions).

      ---

      **Key Features:**

      - Real-time contact & company signal notifications

      - Bulk subscription management (up to 25 items per request)

      - Secure delivery with HMAC-SHA256 signatures

      - Delivery monitoring with audit logs

       **Available Endpoints:**

      | Method | Endpoint | Purpose |

      |--------|----------|---------|

      | POST | `/api/subscriptions` | Create subscriptions (bulk supported) |

      | GET | `/api/subscriptions` | List all subscriptions |

      | GET | `/api/subscriptions/{id}` | Get subscription by ID |

      | PATCH | `/api/subscriptions/{id}` | Update subscription |

      | POST | `/api/subscriptions/delete` | Delete subscriptions (bulk
      supported) |

      | POST | `/api/subscriptions/{id}/test` | Test subscription delivery |

      | GET | `/api/audit-logs` | Get webhook delivery logs |

      | GET | `/api/audit-logs/stats` | Get delivery statistics |

      | GET | `/api/account/secret` | Get account webhook secret |

      | POST | `/api/account/secret/regenerate` | Regenerate account secret |


      > **Webhook Delivery Acknowledgment:** When receiving webhook deliveries
      (POST requests), your endpoint must acknowledge with a specific response
      format. See the [Create Subscription](#operation/createSubscription)
      endpoint for the required acknowledgment structure.
            ---

      <details>

      <summary><strong>Rate Limits</strong></summary>


      | Operation | Limit |

      |-----------|-------|

      | API Requests | 100 requests/minute per account |

      | Create Subscriptions | 25 items per request |

      | Delete Subscriptions | 25 items per request |


      </details>


      ---


      <details>

      <summary><strong>Security & Verification</strong></summary>


      **HTTPS Requirement:**

      - Production webhook URLs **must** use HTTPS

      - HTTP URLs are not accepted


      **Signature Verification:**


      All webhook deliveries include an `X-Lusha-Signature` header containing an
      HMAC-SHA256 signature. Verify this signature to ensure the request is from
      Lusha:


      1. Extract the `X-Lusha-Signature` and `X-Lusha-Timestamp` headers

      2. Concatenate: `timestamp + "." + JSON.stringify(payload)`

      3. Compute HMAC-SHA256 using your webhook secret

      4. Compare the computed signature with the received signature


      **Example (Node.js):**

      ```javascript

      const crypto = require('crypto');


      function verifySignature(payload, signature, timestamp, secret) {
        const signedPayload = `${timestamp}.${JSON.stringify(payload)}`;
        const expectedSignature = crypto
          .createHmac('sha256', secret)
          .update(signedPayload)
          .digest('hex');
        
        return crypto.timingSafeEqual(
          Buffer.from(signature),
          Buffer.from(expectedSignature)
        );
      }

      ```


      > **Security Best Practice:** Always verify webhook signatures to prevent
      spoofed requests.


      </details>


      ---


      <details>

      <summary><strong>Credits & Billing</strong></summary>


      **Credit Charges:**

      - Credits are charged when signals are detected and delivered to your
      webhook

      - The `creditsCharged` field in the webhook payload indicates how many
      credits were used

      - Credits are deducted from your account balance per signal type


      **No Duplicate Charges:**

      - Each signal is delivered once and charged once

      - Webhook delivery retries do not incur additional charges


      </details>


      ---


      <details>

      <summary><strong>Error Response Format</strong></summary>


      All error responses follow this format:

      ```json

      {
        "statusCode": 400,
        "message": "Validation failed",
        "errors": ["entityType must be one of: contact, company"]
      }

      ```


      | Field | Type | Description |

      |-------|------|-------------|

      | `statusCode` | number | HTTP status code |

      | `message` | string | Error message |

      | `errors` | string[] | Detailed error messages (optional) |


      </details>
          
      ---
  - name: Account Management
    description: >
      Manage your account and monitor usage.


      Use this endpoint to:

      - Monitor credit usage

      - Understand consumption patterns

      - Align API usage with plan limits

      - Support governance and production operations


      Account-level insights are especially important for teams running Lusha at
      scale or across multiple systems.
paths:
  /v2/person:
    get:
      tags:
        - Enrichment
      summary: Search Single Contact
      description: >
        Find and enrich a single contact using various search criteria. You can
        search by name, email, 

        LinkedIn URL, or Person Id.

        >##### Endpoint
          ```
        GET https://api.lusha.com/v2/person
          ```


        >##### Search Requirements
          
        You must provide either:

        - `personId` OR

        - `email` OR

        - `linkedinUrl` OR

        - `firstName` AND `lastName` AND (`companyName` OR `companyDomain`)


        >##### Notes: 

        - Provide as much information as possible for better results

        - Using `personId` provides the most direct way to retrieve contact
        information, as it uniquely identifies a contact in Lusha's database.

        - Use `refreshJobInfo=true` to get the latest employment data

        - Use `filterBy` parameter to specify what contact details you need

        - Include the `signals` parameter to retriever contact signals (If no
        signals data is found for the specified period, the `signals` object
        will be empty but still present in the response.)
          - When requesting signals, you can optionally specify a start date using `signalsStartDate`.
          - Signals data is optional. If you don't include the `signals` parameter, no signals data will be returned.

          

        ---


        ⚠️ **Important Notice - Unified Credits Plan Required**


        | Parameter | Requirement |

        |-----------|-------------|

        | `revealEmails` and `revealPhones` | Only available to customers on the
        **Unified Credits** pricing plan |

        | Plan Restriction | Attempting to use these parameters on other plans
        will result in a **403 Unauthorized** error |

        | Default Behavior | When neither parameter is used, the API returns
        **both email addresses and phone numbers**, if available |


        ---
      operationId: searchSingleContact
      parameters:
        - $ref: '#/components/parameters/firstName'
        - $ref: '#/components/parameters/lastName'
        - $ref: '#/components/parameters/personId'
        - $ref: '#/components/parameters/companyName'
        - $ref: '#/components/parameters/companyDomain'
        - $ref: '#/components/parameters/email'
        - $ref: '#/components/parameters/linkedinUrl'
        - $ref: '#/components/parameters/refreshJobInfo'
        - $ref: '#/components/parameters/filterBy'
        - $ref: '#/components/parameters/revealEmails'
        - $ref: '#/components/parameters/revealPhones'
        - $ref: '#/components/parameters/signals'
        - $ref: '#/components/parameters/signalsStartDate'
        - $ref: '#/components/parameters/partialProfile'
      responses:
        '200':
          description: Successfully found contact information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SingleContactResponse'
              examples:
                successful_response:
                  summary: Successful contact lookup
                  value:
                    contact:
                      error: null
                      isCreditCharged: false
                      data:
                        companyId: 33222678
                        firstName: Dustin
                        lastName: Moskovitz
                        fullName: Dustin Moskovitz
                        emailAddresses:
                          - address: dustin@lusha.com
                            type: work
                            emailConfidence: A+
                            updateDate: '2024-01-15'
                        phoneNumbers:
                          - number: +1-555-123-4567
                            phoneType: Mobile
                            doNotCall: false
                            updateDate: '2024-01-15'
                        location:
                          country: United States
                          countryIso2: US
                          continent: North America
                          rawLocation: Boston, MA, US
                          city: Boston
                          state: Massachusetts
                          stateCode: MA
                          isEuContact: false
                        jobTitle:
                          seniority: Executive
                          title: CEO
                          departments:
                            - Executive
                        socialLinks:
                          linkedin: https://www.linkedin.com/in/dustin/
                          xUrl: https://twitter.com/dustin
                        jobStartDate: '2020-01-01'
                        personId: 123456
                        updateDate: '2024-01-15'
                        linkedinFollowersCount: 12500
                        linkedinConnectionsCount: 500
                        linkedinCertifications:
                          - companyName: Microsoft
                            title: 'Microsoft Certified: Azure Fundamentals'
                            dateYear: 2020
                            dateMonth: 6
                            verifyUrl: >-
                              https://www.youracclaim.com/badges/5ccf865c-dd6e-4dcc-9184-c8999d31f83d
                        linkedinCourses:
                          - title: Advanced Leadership Strategies
                            companyName: LinkedIn Learning
                        linkedinAwards:
                          - title: Tech Leader of the Year
                            companyName: Tech Awards Council
                            dateYear: 2023
                            summary: >-
                              Recognition for outstanding leadership in
                              technology innovation
                        linkedinSkills:
                          - Strategic Planning
                          - Team Leadership
                          - Product Development
                        company:
                          name: Lusha
                          description: >-
                            Lusha is the sales intelligence platform designed to
                            help businesses get their next customers.
                          domains:
                            homepage: https://www.lusha.com
                            email: lusha.com
                          fqdn: lusha.com
                          location:
                            country: United States
                            countryIso2: US
                            continent: North America
                            rawLocation: Boston, MA, US
                            city: Boston
                            state: Massachusetts
                          companySize:
                            - 201
                            - 500
                          revenueRange:
                            - 10000000
                            - 50000000
                          logoUrl: https://logo.lusha.co/logo.jpg
                          social:
                            linkedin: https://linkedin.com/company/lusha
                            crunchbase: https://crunchbase.com/company/lusha
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '451':
          $ref: '#/components/responses/GDPRRestricted'
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  parameters:
    firstName:
      name: firstName
      in: query
      description: The first name of the person
      schema:
        type: string
      example: Dustin
    lastName:
      name: lastName
      in: query
      description: The last name of the person
      schema:
        type: string
      example: Moskovitz
    personId:
      name: personId
      in: query
      description: The unique person identifier in Lusha
      schema:
        type: string
      example: '4183886134'
    companyName:
      name: companyName
      in: query
      description: The name of the company the person works at
      schema:
        type: string
      example: Lusha
    companyDomain:
      name: companyDomain
      in: query
      description: The domain name of the company
      schema:
        type: string
      example: lusha.com
    email:
      name: email
      in: query
      description: The email address of the person
      schema:
        type: string
      example: dustin@lusha.com
    linkedinUrl:
      name: linkedinUrl
      in: query
      description: The LinkedIn URL of the person
      schema:
        type: string
      example: https://www.linkedin.com/in/dustin/
    refreshJobInfo:
      name: refreshJobInfo
      in: query
      description: >
        Set to true to refresh and update the job details for the person. 

        This ensures that outdated job information is replaced with the most
        recent data.
      schema:
        type: boolean
        default: false
      example: true
    filterBy:
      name: filterBy
      in: query
      description: >
        Filters results based on specific contact details. Available options:

        - `phoneNumbers`: Only return contacts with phone numbers

        - `emailAddresses`: Only return contacts with email addresses


        By default, results will include contacts with at least one contact
        detail.
      schema:
        type: string
        enum:
          - phoneNumbers
          - emailAddresses
    revealEmails:
      name: revealEmails
      in: query
      description: >
        Set `revealEmails=true` to retrieve only the email address of the
        contact.
      schema:
        type: boolean
        default: true
      example: true
    revealPhones:
      name: revealPhones
      in: query
      description: >
        Set `revealPhones=true` to retrieve only the phone number of the
        contact.
      schema:
        type: boolean
        default: true
      example: true
    signals:
      name: signals
      in: query
      description: |
        Array of signal types to retrieve for the contact.
        - `allSignals`: All available signal types
        - `promotion`: Promotion signals
        - `companyChange`: Company change signals
      schema:
        type: array
        items:
          type: string
          enum:
            - allSignals
            - promotion
            - companyChange
      example:
        - promotion
    signalsStartDate:
      name: signalsStartDate
      in: query
      description: >
        Start date for signal retrieval in YYYY-MM-DD format. Defaults to 6
        months ago if not specified.
      schema:
        type: string
        format: date
      example: '2025-03-01'
    partialProfile:
      name: partialProfile
      in: query
      description: >
        Search for a single contact with the option to receive a partial
        profile.
      required: false
      schema:
        type: boolean
        default: false
      example: true
  schemas:
    SingleContactResponse:
      type: object
      properties:
        contact:
          $ref: '#/components/schemas/ContactSingleResponse'
          description: The contact response object
      required:
        - contact
    ContactSingleResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ContactError'
          nullable: true
          description: The error of the contact
        isCreditCharged:
          type: boolean
          description: Indicates whether a credit charge was made for the contact
          example: true
        data:
          $ref: '#/components/schemas/ContactWithCompany'
          description: The data of the contact and company
      required:
        - error
        - isCreditCharged
    ErrorResponse:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTP status code
          example: 400
        message:
          type: string
          description: Error message
          example: Validation failed
        errors:
          type: array
          items:
            type: string
          description: Detailed error messages (optional, only for validation errors)
          example:
            - 'entityType must be one of: contact, company'
    ContactError:
      type: object
      properties:
        code:
          type: number
          description: The code of the contact error
          example: 3
        name:
          type: string
          description: The name of the contact error
          example: EMPTY_DATA
        message:
          type: string
          description: The message of the contact error
          example: Could not find requested data
    ContactWithCompany:
      type: object
      allOf:
        - $ref: '#/components/schemas/Contact'
        - type: object
          properties:
            company:
              $ref: '#/components/schemas/CompanyResponse'
              description: The company of the contact
          required:
            - company
    Contact:
      type: object
      properties:
        companyId:
          type: number
          description: A unique identifier for the company on Lusha
          example: 123
        firstName:
          type: string
          description: The first name of the person
          example: Dustin
        lastName:
          type: string
          description: The last name of the person
          example: Moskovitz
        fullName:
          type: string
          description: The full name of the person
          example: Dustin Moskovitz
        emails:
          description: Simple array of email addresses (deprecated - use emailAddresses)
          type: array
          items:
            type: string
          example:
            - john.doe@example.com
        emailAddresses:
          description: Detailed email addresses with metadata
          type: array
          items:
            $ref: '#/components/schemas/EmailAddress'
        phones:
          description: Simple array of phone numbers (deprecated - use phoneNumbers)
          type: string
          example: +1 555-123-4567
        phoneNumbers:
          description: Detailed phone numbers with metadata
          type: array
          items:
            $ref: '#/components/schemas/PhoneNumbers'
        personId:
          type: number
          description: The unique person identifier in Lusha
          example: 123456
        location:
          $ref: '#/components/schemas/LocationResponse'
          description: The location of the person
        jobTitle:
          $ref: '#/components/schemas/JobTitle'
          description: The job title of the person
        socialLinks:
          $ref: '#/components/schemas/SocialLinks'
          description: The social links of the person
        jobStartDate:
          type: string
          description: The start date at current position
          example: '2020-01-01'
        previousJob:
          $ref: '#/components/schemas/PreviousJobResponse'
          description: The previous job of the person
        contactTags:
          description: Tags associated with the contact
          type: array
          items:
            $ref: '#/components/schemas/ContactTag'
        updateDate:
          type: string
          description: The last update date of the contact data
          example: '2020-01-01'
        linkedinFollowersCount:
          type: integer
          description: Number of followers on LinkedIn
          example: 1250
        linkedinConnectionsCount:
          type: integer
          description: Number of LinkedIn connections
          example: 500
        linkedinCertifications:
          description: Professional certifications listed on LinkedIn
          type: array
          items:
            $ref: '#/components/schemas/LinkedinCertification'
        linkedinCourses:
          description: Courses listed on LinkedIn profile
          type: array
          items:
            $ref: '#/components/schemas/LinkedinCourse'
        linkedinAwards:
          description: Honors and awards listed on LinkedIn profile
          type: array
          items:
            $ref: '#/components/schemas/LinkedinAward'
        linkedinSkills:
          description: Skills listed on LinkedIn profile
          type: array
          items:
            type: string
          example:
            - Microsoft Office
            - Project Management
            - Strategic Planning
      required:
        - companyId
        - firstName
        - lastName
        - fullName
    CompanyResponse:
      type: object
      properties:
        name:
          type: string
          description: The name of the company
          example: Lusha
        description:
          type: string
          description: The description of the company
          example: >-
            Lusha is a company that provides a platform for companies to find
            and connect with potential customers.
        domains:
          type: object
          description: The domains of the company
          properties:
            homepage:
              type: string
              example: https://www.lusha.com
            email:
              type: string
              example: contact@lusha.com
        homepageUrl:
          type: string
          description: The homepage URL of the company
          example: https://www.lusha.com
        fqdn:
          type: string
          description: The FQDN of the company
          example: lusha.com
        location:
          $ref: '#/components/schemas/LocationResponse'
          description: The location of the company
        companySize:
          description: The size of the company
          example:
            - 100
            - 1000
          type: array
          items:
            type: number
        revenueRange:
          description: The revenue range of the company
          example:
            - 1000000
            - 10000000
          type: array
          items:
            type: number
        industryPrimaryGroup:
          type: string
          description: The industry primary group of the company
          example: Software
        logoUrl:
          type: string
          description: The logo URL of the company
          example: https://www.lusha.com/logo.png
        social:
          $ref: '#/components/schemas/SocialResponse'
          description: The social links of the company
        specialities:
          description: The specialities of the company
          example:
            - Software
            - Sales
          type: array
          items:
            type: string
        technologies:
          description: The technologies of the company
          type: array
          items:
            $ref: '#/components/schemas/CompanyTechnology'
          example:
            - name: JavaScript
            - name: Python
        funding:
          $ref: '#/components/schemas/FundingData'
          description: The funding data of the company
        industry:
          $ref: '#/components/schemas/CompanyIndustryData'
          description: The industry of the company
        intent:
          $ref: '#/components/schemas/BuyerIntent'
          description: The intent of the company
        industryPrimaryGroupDetails:
          $ref: '#/components/schemas/IndustryPrimaryGroupDetailsResponse'
          description: The industry primary group details of the company
      required:
        - name
        - fqdn
    EmailAddress:
      type: object
      properties:
        email:
          type: string
          description: The email address (alternative to 'address')
          example: dustin@lusha.com
        address:
          type: string
          description: The email address (alternative to 'email')
          example: dustin@lusha.com
        emailType:
          type: string
          description: The type of email address (alternative to 'type')
          example: work
          enum:
            - work
            - private
        emailConfidence:
          type: string
          description: The confidence level of the email address
          example: A+
        updateDate:
          type: string
          description: The update date of the email address
          example: '2020-01-01'
    PhoneNumbers:
      type: object
      properties:
        number:
          type: string
          description: The phone number
          example: '+1234567890'
        phoneType:
          type: string
          description: The type of phone number
          example: Mobile
          enum:
            - Mobile
            - Direct
            - Phone
        doNotCall:
          type: boolean
          description: Indicates whether the phone number is listed as "Do Not Call" (DNC).
          example: false
        updateDate:
          type: string
          description: The update date of the phone number
          example: '2020-01-01'
      required:
        - phoneType
        - doNotCall
        - updateDate
    LocationResponse:
      type: object
      properties:
        country:
          type: string
          description: The country where the person is located.
          example: Israel
        countryIso2:
          type: string
          description: The ISO 3166-1 alpha-2 country code of the person.
          example: IL
        country_iso2:
          type: string
          description: The ISO 3166-1 alpha-2 country code of the person.
          example: IL
        continent:
          type: string
          description: The continent where the person is located.
          example: Asia
        rawLocation:
          type: string
          example: 800 Boylston St, Suite 1410, Boston, MA 02199, US
          description: The detailed address.
        region:
          type: string
          description: The region where the person is located.
          example: Tel Aviv
        city:
          type: string
          description: The city where the person is located.
          example: Tel Aviv
        cityId:
          type: number
          description: The ID of the city where the person is located.
          example: 123
        state:
          type: string
          description: The state where the person is located.
          example: Tel Aviv
        stateCode:
          type: string
          description: The state code of the person.
          example: IL
        state_code:
          type: string
          description: The state code of the person.
          example: IL
        street:
          type: string
          description: The street where the person is located.
          example: 123 Main St
        locationCoordinates:
          description: The coordinates of the person.
          example:
            - 32.0853
            - 34.7818
          type: array
          items:
            type: number
        isEuContact:
          type: boolean
          description: Indicates whether the person is in the EU.
          example: true
      required:
        - country
        - countryIso2
        - continent
        - rawLocation
    JobTitle:
      type: object
      properties:
        seniority:
          type: string
          description: The seniority of the person.
          example: Director
        title:
          type: string
          description: The title of the person.
          example: Director of Platform
        departments:
          description: The departments of the person.
          example:
            - Engineering
            - Operations
          type: array
          items:
            type: string
      required:
        - seniority
        - title
        - departments
    SocialLinks:
      type: object
      properties:
        linkedin:
          type: string
          description: The LinkedIn URL of the person
          example: https://www.linkedin.com/in/dustin/
        xUrl:
          type: string
          description: The Twitter/X profile URL of the person
          example: https://twitter.com/dustin
      required:
        - linkedin
    PreviousJobResponse:
      type: object
      properties:
        jobTitle:
          $ref: '#/components/schemas/JobTitle'
          description: The job title of the person
        company:
          $ref: '#/components/schemas/Company'
          description: The company of the person
      required:
        - jobTitle
        - company
    ContactTag:
      type: object
      properties:
        id:
          type: string
          description: The ID of the contact tag
          example: '123'
        name:
          type: string
          description: The name of the contact tag
          example: Prospect
        color:
          type: string
          description: The color of the contact tag
          example: '#000000'
      required:
        - id
        - name
        - color
    LinkedinCertification:
      type: object
      properties:
        companyId:
          type: integer
          description: Company ID that issued the certification
          example: 1035
        companyName:
          type: string
          description: Name of the company/organization that issued the certification
          example: Microsoft
        credentialId:
          type: string
          description: Credential ID for verification
          example: abc123
        dateMonth:
          description: Month the certification was obtained
          example: 6
          anyOf:
            - type: integer
            - type: string
        dateYear:
          description: Year the certification was obtained
          example: 2020
          anyOf:
            - type: integer
            - type: string
        expireDateMonth:
          description: Month the certification expires
          example: 6
          anyOf:
            - type: integer
            - type: string
        expireDateYear:
          description: Year the certification expires
          example: 2025
          anyOf:
            - type: integer
            - type: string
        linkedinCompanyId:
          type: integer
          nullable: true
          description: LinkedIn company ID
          example: 1441
        summary:
          type: string
          nullable: true
          description: Description of the certification
          example: Azure fundamentals certification covering cloud concepts
        title:
          type: string
          description: Title/name of the certification
          example: 'Microsoft Certified: Azure Fundamentals'
        verifyUrl:
          type: string
          nullable: true
          description: URL to verify the certification
          example: >-
            https://www.youracclaim.com/badges/5ccf865c-dd6e-4dcc-9184-c8999d31f83d
    LinkedinCourse:
      type: object
      properties:
        activities:
          type: string
          nullable: true
          description: Activities
        degree:
          type: string
          nullable: true
          description: Degree
        endDate:
          type: string
          nullable: true
          description: End date
        endDateMonth:
          description: End month
          oneOf:
            - type: integer
              nullable: true
            - type: string
              nullable: true
        endDateYear:
          description: End year
          oneOf:
            - type: integer
              nullable: true
            - type: string
              nullable: true
        fieldOfStudy:
          type: object
          nullable: true
          description: Field of study object
          properties:
            id:
              type: string
              nullable: true
            name:
              type: string
              nullable: true
        grade:
          type: string
          nullable: true
          description: Grade
        incompleteEducation:
          type: boolean
          nullable: true
          description: Incomplete education flag
        notes:
          type: string
          nullable: true
          description: Notes
        school:
          type: object
          nullable: true
          description: School information
          properties:
            createdAt:
              type: string
              nullable: true
            id:
              type: string
              nullable: true
            logoUrl:
              type: string
              nullable: true
            name:
              type: string
              nullable: true
            updatedAt:
              type: string
              nullable: true
        startDate:
          type: string
          nullable: true
          description: Start date
        startDateMonth:
          description: Start month
          oneOf:
            - type: number
              nullable: true
            - type: string
              nullable: true
        startDateYear:
          description: Start year
          oneOf:
            - type: number
              nullable: true
            - type: string
              nullable: true
        linkedinSchoolId:
          type: number
          nullable: true
          description: LinkedIn school ID
    LinkedinAward:
      type: object
      properties:
        companyName:
          type: string
          nullable: true
          description: Name of the organization that gave the award
          example: Columbia Southern University
        dateDay:
          oneOf:
            - type: number
            - type: string
          description: Day the award was received
          example: 15
        dateMonth:
          oneOf:
            - type: number
            - type: string
          description: Month the award was received
          example: 7
        dateYear:
          oneOf:
            - type: number
            - type: string
          description: Year the award was received
          example: 2023
        linkedinCompanyId:
          type: string
          nullable: true
          description: LinkedIn company ID
        summary:
          type: string
          nullable: true
          description: Description of the award
          example: Certificate of Recognition for Exceptional Teaching
        title:
          type: string
          description: Title/name of the award
          example: Raising the Bar Award
    SocialResponse:
      type: object
      properties:
        linkedin:
          type: string
          description: The LinkedIn URL of the person
          example: https://www.linkedin.com/in/dustin/
        crunchbase:
          type: string
          description: The Crunchbase URL of the person
          example: https://www.crunchbase.com/person/dustin-moskovitz
        twitter:
          type: string
          description: The Twitter URL of the person
          example: https://twitter.com/dustin
        facebook:
          type: string
          description: The Facebook URL of the person
          example: https://www.facebook.com/dustin
    CompanyTechnology:
      type: object
      properties:
        name:
          type: string
          example: salesforce
          description: Technology name used by the company
      required:
        - name
    FundingData:
      type: object
      properties:
        totalRounds:
          type: number
          description: The total rounds of the funding data
          example: 10
        totalRoundsAmount:
          type: number
          description: The total rounds amount of the funding data
          example: 1000000
        currency:
          type: string
          description: The currency of the funding data
          example: USD
        isIpo:
          type: boolean
          description: Indicates whether the company is an IPO
          example: true
        lastFundingEventDate:
          type: string
          description: The last funding event date of the funding data
          example: '2020-01-01'
        lastFundingEventAmount:
          type: number
          description: The last funding event amount of the funding data
          example: 1000000
        lastFundingEventName:
          type: string
          description: The last funding event name of the funding data
          example: Series A
        rounds:
          description: The rounds of the funding data
          type: array
          items:
            $ref: '#/components/schemas/FundingDataRound'
      required:
        - totalRounds
        - currency
        - isIpo
    CompanyIndustryData:
      type: object
      properties:
        mainIndustry:
          type: string
          description: The main industry of the company
          example: Software
        subIndustry:
          type: string
          description: The sub industry of the company
          example: Sales
      required:
        - mainIndustry
        - subIndustry
    BuyerIntent:
      type: object
      properties:
        topicCount:
          type: integer
          description: The topic count of the buyer intent
          example: 6
        detectedTopics:
          type: array
          description: The detected topics of the buyer intent
          items:
            $ref: '#/components/schemas/CompanyIntentTopic'
      required:
        - topicCount
        - detectedTopics
    IndustryPrimaryGroupDetailsResponse:
      type: object
      properties:
        sicCodes:
          description: The SIC codes of the industry primary group
          type: array
          items:
            $ref: '#/components/schemas/CompanySic'
        naicsCodes:
          description: The NAICS codes of the industry primary group
          type: array
          items:
            $ref: '#/components/schemas/CompanyNaics'
    Company:
      type: object
      properties:
        name:
          type: string
          description: The name of the company, Required if no domain.
          example: Lusha
        domain:
          type: string
          description: The domain of the company, Required if no name.
          example: lusha.com
        isCurrent:
          type: boolean
          description: Indicates whether this is the person's current company
          example: true
        jobTitle:
          type: string
          description: The job title of the person at the company
          example: Software Engineer
        fqdn:
          type: string
          description: The fully qualified domain name of the company
          example: https://lusha.com
        companySocialId:
          type: string
          description: The social ID associated with the company (if available)
          example: '1234567890'
      required:
        - isCurrent
    FundingDataRound:
      type: object
      properties:
        announcedOn:
          type: string
          description: The announced on date of the funding data
          example: '2020-01-01'
        leadInvestors:
          description: The lead investors of the funding data
          example:
            - Investor 1
            - Investor 2
          type: array
          items:
            type: string
        currency:
          type: string
          description: The currency of the funding data
          example: USD
        title:
          type: string
          description: The title of the funding data
          example: Series A
        moneyRaised:
          type: number
          description: The money raised of the funding data
          example: 1000000
      required:
        - currency
        - title
    CompanyIntentTopic:
      type: object
      properties:
        topicName:
          type: string
          example: Remote Sales
          description: Name of the intent topic
        metadata:
          $ref: '#/components/schemas/CompanyIntentTopicMetadata'
      required:
        - topicName
        - metadata
    CompanySic:
      type: object
      properties:
        sicCodes:
          type: number
          example: 1234
        description:
          type: string
          example: Software Publishing
      required:
        - sic
        - description
    CompanyNaics:
      type: object
      properties:
        naicsCodes:
          type: number
          example: 541511
        description:
          type: string
          example: Custom Computer Programming Services
      required:
        - naics
        - description
    CompanyIntentTopicMetadata:
      type: object
      properties:
        topicScore:
          type: number
          example: 83
          description: Relevance score for the intent topic
        topicTrend:
          type: string
          example: '-5'
          description: Trend of the topic (e.g., +1, -5, New)
      required:
        - topicScore
        - topicTrend
  responses:
    BadRequest:
      description: Bad request - invalid input data
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            statusCode: 400
            message: Invalid request parameters
    Unauthorized:
      description: Unauthorized - invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            statusCode: 401
            message: Invalid API key
    Forbidden:
      description: Forbidden - account inactive or feature not available
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            accountInactive:
              summary: Account inactive
              value:
                statusCode: 403
                message: >-
                  Your account is not active. Please reach out to support at
                  support@lusha.com
            featureNotAvailable:
              summary: Feature not available for pricing plan
              value:
                statusCode: 403
                message: >-
                  Your pricing version does not support requesting individual
                  datapoints [revealEmails, revealPhones]
            subscriptionLimitReached:
              summary: Subscription limit reached
              value:
                statusCode: 403
                message: Maximum subscriptions limit reached for your account
            dncNotSupported:
              summary: DNC filter not supported on current plan
              value:
                statusCode: 403
                message: >-
                  Exclude DNC is not supported on your current plan. Please
                  contact support or your account manager for assistance.
    NotFound:
      description: Not found - resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            statusCode: 404
            message: Resource not found
    TooManyRequests:
      description: Too many requests - rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            statusCode: 429
            message: Too many requests. Please wait before making another request.
      headers:
        RateLimit-Limit:
          description: The total number of allowed requests per second
          schema:
            type: integer
        RateLimit-Remaining:
          description: The number of remaining requests in the current window
          schema:
            type: integer
        RateLimit-Reset:
          description: The time (in seconds) until the rate limit quota is reset
          schema:
            type: integer
        X-RateLimit-Remaining-Daily:
          description: The number of remaining requests for your daily quota
          schema:
            type: integer
        X-RateLimit-Reset-Daily:
          description: The time when your daily quota will reset
          schema:
            type: integer
    GDPRRestricted:
      description: GDPR restricted - unable to process due to GDPR regulations
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            statusCode: 451
            message: >-
              We are unable to process this contact request due to our GDPR
              regulations
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            statusCode: 500
            message: Internal server error. Please try again later.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key
      description: >
        Your Lusha API key. You can find this in your Lusha dashboard under API
        settings.


        Include this key in the `api_key` header for all requests.

````