---
title: "POST /org-storage/leads/save-many"
method: POST
path: "/org-storage/leads/save-many"
tags: ["org-storage"]
---

# POST /org-storage/leads/save-many

`POST /org-storage/leads/save-many`

Save many leads - Beta.

## Headers

- `X-Phantombuster-Org` string

## Request body

- object
  - `leads` object[], required — leads to insert.
    - `linkedinProfileUrl` string, required — linkedin profile url
    - `linkedinCompanyUrl` string — linkedin company url (deprecated, use linkedinCompanySlug instead)
    - `linkedinCompanySlug` string — linkedin company slug
    - `twitterProfileUrl` string — twitter profile url
    - `linkedinPreviousCompanyUrl` string — linkedin previous company url
    - `metadata` object — metadata from the agent script
      - `data` object, required — metadata from the agent script
    - `linkedinSchoolCompanyUrl` string — linkedin school company url
    - `linkedinPreviousSchoolCompanyUrl` string — linkedin previous school company url
    - `salesNavigatorProfileUrl` string — sales navigator profile url
    - `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
    - `aiGeneratedProperties` object — AI generated properties
    - `customResultsFileName` string — Custom Results File Name
    - `error` string — error property from the agent script

## Response `200`

Leads successfully updated or created.

- union[]
  - union
    - object
      - `linkedinProfileUrl` string, required
      - `status` 'error', required
      - `error` string, required
    - object
      - `linkedinProfileUrl` string, required
      - `status` 'success', required
      - `isCreation` boolean, required

---

[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)
