---
title: "POST /org-storage/leads-objects/search"
method: POST
path: "/org-storage/leads-objects/search"
tags: ["org-storage"]
---

# POST /org-storage/leads-objects/search

`POST /org-storage/leads-objects/search`

Search leads objects.

## Response `200`

Leads objects found are returned.

- union
  - object[]
    - `id` string, required
    - `orgId` string, required
    - `type` string, required
    - `slug` string, required
    - `leadId` string, nullable
    - `properties` object, required
    - `leadSlug` string, nullable
    - `leadUrn` string, nullable
    - `lead` object
      - `isCreation` boolean — Indicates if the lead is created or inserted
      - `id` string, required
      - `linkedinProfileSlug` string, required
      - `linkedinCompanySlug` string
      - `twitterProfileHandle` string
      - `linkedinPreviousCompanySlug` string
      - `linkedinSchoolCompanySlug` string
      - `linkedinPreviousSchoolCompanySlug` string
      - `salesNavigatorProfileId` string
      - `salesNavigatorCompanyId` string
      - `firstName` string — lead firstName
      - `lastName` string — lead lastName
      - `location` string — lead location
      - `civility` string — lead civility
      - `linkedinOpenProfile` boolean — lead linkedin profile is open
      - `linkedinIsHiringBadge` boolean — lead linkedin is hiring badge
      - `linkedinIsOpenToWorkBadge` boolean — lead linkedin is open to work badge
      - `professionalEmails` string[] — lead professional emails
      - `personalEmails` string[] — lead personal emails
      - `phoneNumbers` string[] — lead phone numbers
      - `websites` string[] — lead websites
      - `companyName` string — lead company
      - `companyWebsite` string — lead company website
      - `linkedinCompanyId` string — linkedin company id
      - `linkedinProfileId` string — lead linkedin profile id
      - `linkedinProfileUrn` string — lead linkedin profile urn
      - `linkedinProfileImageUrn` string — lead linkedin profile picture image urn
      - `linkedinProfileImageUrl` string — lead linkedin profile picture image url
      - `linkedinHeadline` string — lead linkedin profile headline
      - `linkedinJobTitle` string — lead linkedin job title
      - `linkedinJobDateRange` string — lead linkedin job date range
      - `linkedinJobLocation` string — lead linkedin job location
      - `companyIndustry` string — industry of the lead's company
      - `linkedinFollowersCount` number — lead linkedin followers count
      - `linkedinDescription` string — lead linkedin description
      - `linkedinJobDescription` string — lead linkedin job description
      - `linkedinPreviousJobDescription` string — lead linkedin previous job description
      - `linkedinSkillsLabel` string — lead linkedin skills label
      - `previousCompanyName` string — lead previous company name
      - `linkedinPreviousJobTitle` string — lead previous job title
      - `linkedinPreviousJobDateRange` string — lead previous job date range
      - `linkedinPreviousJobLocation` string — lead previous job location
      - `linkedinSchoolName` string — lead linkedin school name
      - `linkedinPreviousSchoolName` string — lead linkedin previous school name
      - `linkedinSchoolDegree` string — lead linkedin school degree
      - `linkedinPreviousSchoolDegree` string — lead linkedin previous school degree
      - `linkedinSchoolDateRange` string — lead linkedin school date range
      - `linkedinPreviousSchoolDateRange` string — lead linkedin previous school date range
      - `linkedinSchoolDescription` string — lead linkedin school description
      - `linkedinPreviousSchoolDescription` string — lead linkedin previous school description
      - `linkedinAccountRelativeProperties` object[] — Collection of Lead LinkedIn properties grouped by scraping LinkedIn user
        - `sourceUserId` string, required — Source LinkedIn profile id (user who scraped)
        - `connectionDegree` integer — Lead LinkedIn connection degree
      - `crmAccountRelativeProperties` object[] — Collection of CRM related properties grouped by CRM name (contains only one item per CRM)
        - `crmContactId` string, required
        - `crmAccountId` string, required
        - `crmName` 'hubspot' | 'pipedrive' | 'salesforce', required
      - `audienceOfLeads` string[] — list of lead ids this lead is an audience of
      - `editionsHistory` union[], required
        - union
          - object
            - `type` 'agent', required
            - `timestamp` number, required
            - `mainAgentId` string, required
            - `workerAgentId` string
            - `resultFile` string
            - `errorMessage` string
            - `identityProfileId` string — Source profile id (user who scraped)
            - `identityType` 'linkedin'
          - object
            - `type` 'manual', required
            - `timestamp` number, required
            - `userId` string
            - `editedProperties` string[], required
          - object
            - `type` 'browser_extension', required
            - `timestamp` number, required
            - `extensionType` 'chrome' | 'firefox' | 'edge', required
      - `metadata` object — metadata for the lead
      - `aiGeneratedProperties` object — AI generated properties
      - `company` object
        - `id` string, required
        - `companyId` string, required
        - `companySlug` string, required
        - `properties` object, required
        - `createdAt` number, required
        - `updatedAt` number, required
  - object
    - `leadsObjects` object[], required
      - `id` string, required
      - `orgId` string, required
      - `type` string, required
      - `slug` string, required
      - `leadId` string, nullable
      - `properties` object, required
      - `leadSlug` string, nullable
      - `leadUrn` string, nullable
      - `lead` object
        - `isCreation` boolean — Indicates if the lead is created or inserted
        - `id` string, required
        - `linkedinProfileSlug` string, required
        - `linkedinCompanySlug` string
        - `twitterProfileHandle` string
        - `linkedinPreviousCompanySlug` string
        - `linkedinSchoolCompanySlug` string
        - `linkedinPreviousSchoolCompanySlug` string
        - `salesNavigatorProfileId` string
        - `salesNavigatorCompanyId` string
        - `firstName` string — lead firstName
        - `lastName` string — lead lastName
        - `location` string — lead location
        - `civility` string — lead civility
        - `linkedinOpenProfile` boolean — lead linkedin profile is open
        - `linkedinIsHiringBadge` boolean — lead linkedin is hiring badge
        - `linkedinIsOpenToWorkBadge` boolean — lead linkedin is open to work badge
        - `professionalEmails` string[] — lead professional emails
        - `personalEmails` string[] — lead personal emails
        - `phoneNumbers` string[] — lead phone numbers
        - `websites` string[] — lead websites
        - `companyName` string — lead company
        - `companyWebsite` string — lead company website
        - `linkedinCompanyId` string — linkedin company id
        - `linkedinProfileId` string — lead linkedin profile id
        - `linkedinProfileUrn` string — lead linkedin profile urn
        - `linkedinProfileImageUrn` string — lead linkedin profile picture image urn
        - `linkedinProfileImageUrl` string — lead linkedin profile picture image url
        - `linkedinHeadline` string — lead linkedin profile headline
        - `linkedinJobTitle` string — lead linkedin job title
        - `linkedinJobDateRange` string — lead linkedin job date range
        - `linkedinJobLocation` string — lead linkedin job location
        - `companyIndustry` string — industry of the lead's company
        - `linkedinFollowersCount` number — lead linkedin followers count
        - `linkedinDescription` string — lead linkedin description
        - `linkedinJobDescription` string — lead linkedin job description
        - `linkedinPreviousJobDescription` string — lead linkedin previous job description
        - `linkedinSkillsLabel` string — lead linkedin skills label
        - `previousCompanyName` string — lead previous company name
        - `linkedinPreviousJobTitle` string — lead previous job title
        - `linkedinPreviousJobDateRange` string — lead previous job date range
        - `linkedinPreviousJobLocation` string — lead previous job location
        - `linkedinSchoolName` string — lead linkedin school name
        - `linkedinPreviousSchoolName` string — lead linkedin previous school name
        - `linkedinSchoolDegree` string — lead linkedin school degree
        - `linkedinPreviousSchoolDegree` string — lead linkedin previous school degree
        - `linkedinSchoolDateRange` string — lead linkedin school date range
        - `linkedinPreviousSchoolDateRange` string — lead linkedin previous school date range
        - `linkedinSchoolDescription` string — lead linkedin school description
        - `linkedinPreviousSchoolDescription` string — lead linkedin previous school description
        - `linkedinAccountRelativeProperties` object[] — Collection of Lead LinkedIn properties grouped by scraping LinkedIn user
          - `sourceUserId` string, required — Source LinkedIn profile id (user who scraped)
          - `connectionDegree` integer — Lead LinkedIn connection degree
        - `crmAccountRelativeProperties` object[] — Collection of CRM related properties grouped by CRM name (contains only one item per CRM)
          - `crmContactId` string, required
          - `crmAccountId` string, required
          - `crmName` 'hubspot' | 'pipedrive' | 'salesforce', required
        - `audienceOfLeads` string[] — list of lead ids this lead is an audience of
        - `editionsHistory` union[], required
          - union
            - object
              - …
            - object
              - …
            - object
              - …
        - `metadata` object — metadata for the lead
        - `aiGeneratedProperties` object — AI generated properties
        - `company` object
          - `id` string, required
          - `companyId` string, required
          - `companySlug` string, required
          - `properties` object, required
          - `createdAt` number, required
          - `updatedAt` number, required
    - `totalCount` number, required

## Other responses

- `400` — Invalid payload provided.
- `500` — Unexpected error while searching leadsObjects.

---

[API](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2.md) · [All operations](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/phantombuster/phantombuster-api-v2/revisions/acf0049d7c7f/schema)
