Lead

Convert Persons To Leads

POST
/lead/persons-to-leads
personIdsarray<string>

Response Body

curl -X POST "http://crm-apiprod.b2bleadsmarket.com/lead/persons-to-leads" \  -H "Content-Type: application/json" \  -d '{    "personIds": [      "497f6eca-6276-4993-bfeb-53cbbbba6f08"    ]  }'
[
  {
    "id": "string",
    "salutation": "string",
    "avatarUrl": "string",
    "name": {
      "firstName": "string",
      "lastName": "string"
    },
    "emails": {
      "primaryEmail": "user@example.com",
      "additionalEmails": [
        {}
      ]
    },
    "phones": {
      "primaryPhoneNumber": "string",
      "primaryPhoneCountryCode": "string",
      "primaryPhoneCallingCode": "string",
      "additionalPhones": [
        {}
      ]
    },
    "companyName": "string",
    "domainName": {
      "primaryLinkLabel": "string",
      "primaryLinkUrl": "string",
      "secondaryLinks": [
        {}
      ]
    },
    "amount": {
      "amountMicros": 0,
      "currencyCode": "string"
    },
    "annualRecurringRevenue": {
      "amountMicros": 0,
      "currencyCode": "string"
    },
    "industry": "string",
    "employees": 0,
    "employeeRange": "1-10",
    "address": {
      "addressStreet1": "string",
      "addressStreet2": "string",
      "addressCity": "string",
      "addressState": "string",
      "addressCountry": "string",
      "addressPostcode": "string",
      "addressLat": 0,
      "addressLng": 0
    },
    "city": "string",
    "state": "string",
    "country": "string",
    "stageId": "string",
    "stage": {
      "id": "string",
      "name": "string",
      "description": "string",
      "isActive": true,
      "isCustom": true
    },
    "createdBy": {
      "source": "string",
      "workspaceMemberId": "19b2e9e0-2ca5-440b-89b8-7d3df62cd046",
      "name": "string"
    },
    "leadOwnerId": "string",
    "pointOfContactId": "string",
    "companyId": "string",
    "personId": "string",
    "leadOwner": {
      "id": "string",
      "firstName": "string",
      "lastName": "string",
      "userEmail": "string",
      "avatarUrl": "string"
    },
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "deletedAt": "2019-08-24T14:15:22Z",
    "leadSource": "string"
  }
]