Copy PageCreate Lead Businesspost https://api.prahsys.com/merchant/n1/leads/businessesCreate a new lead businessBody Paramsnamestringrequiredlength ≥ 1Name of the businessaccountTypestringenumrequiredAccount type of the businessPRIVATEPRIVATE_CHILD_LOCATIONDSO_PARENTDSO_PRACTICEDSO_CHILD_LOCATIONCOMMUNITY_CLINICGOVERNMENT_CLINICSCHOOLGPOShow 9 enum valueslocationAddressobjectLocation address of the businesslocationAddress objectheadquartersAddressobjectHeadquarters address of the businessheadquartersAddress objectphoneNumberstringPhone number of the businessemailstringEmail of the businesswebsitestringWebsite of the businesslinkedInUrlstringLinkedIn URL of the business (e.g. linkedin.com/company/acme-corp). A bare slug is also accepted.industrystringrequiredlength ≥ 1Industry the business operates inmanagementSoftwarestringManagement software usedspecialtystringPrimary specialty name. Ignored when specialties is provided.specialtiesarray of objectsAll specialties for this lead. At most one item may have isPrimary true; if none are flagged, the first item is promoted to primary.specialtiesADD objectpaymentProviderstringPayment provider usedcbctScannerstringCBCT scanner model used by the practicescansPerWeekinteger≥ 0Approximate number of CBCT scans performed per weekoperatoriesinteger≥ 0Number of operatories (treatment rooms) in the practiceadditionalobjectFree-form key/value CRM enrichment shown on the lead (e.g. role, scansPerMonth).additional objectleadChannelstringenumrequiredAcquisition channel for the leadINSIDE_SALESOUTSIDE_SALESINBOUND_ORGANICEMAIL_MARKETINGPAID_ADVERTISINGPARTNER_REFERRALCOMMUNITYPRESSREFERRALOTHERUNKNOWNORGANIC_SEARCHDIRECTORGANIC_SOCIALPAID_SEARCHPAID_SOCIALSPONSORED_CONTENTREVIEW_SITESCONTENT_BLOGWEBINAR_EVENTINTEGRATION_MARKETPLACEAFFILIATEFREE_TRIALIN_APP_REFERRALDSO_CONNECTPROGNOSIXShow 26 enum valuesleadSourcestring^[a-z0-9-]+$Source within the channel (lowercase-hyphenated)leadCampaignstring^[a-z0-9-]+$Campaign identifier (lowercase-hyphenated)leadMediumstring^[a-z0-9-]+$Marketing medium within the channel (lowercase-hyphenated, e.g. email, cpc)leadContentstring^[a-z0-9-]+$Differentiates similar content/links within the same campaign (lowercase-hyphenated)numberOfLocationsintegerNumber of locations for this businessnumberOfProvidersintegerNumber of providers at this businessdsoSizestringenumDSO size category — only applicable for DSO Parent account typeEMERGINGEMERGINGMID_MARKETELITEMOBILEAllowed:EMERGINGMID_MARKETELITEMOBILEownerUserIdsarray of stringsUser IDs to assign as ownersownerUserIdsADD stringprimaryOwnerUserIdstring | nullUser ID of the primary owner. Required when ownerUserIds has more than one entry; must be one of ownerUserIds.contactIdsarray of stringsContact IDs to link to this businesscontactIdsADD stringdsoConnectIdstringDSO Connect entity id (parent_dso_id, subsidiary_id, or practice_location_id) — must be unique per lead.leadEventIdstringID of the lead event to enroll this business in at creation time.dealMonthlyProcessingnumberInitial monthly processing amount for the deal.dealNotestringExplanatory note for the deal (e.g. how the amount was calculated).initialStatusstringenumInitial lead status. Defaults to NEW if not provided. Pass PROSPECT to create a pre-pipeline lead.NEWPROSPECTNEWOPENCUSTOMERNURTUREUNSUBSCRIBEAllowed:PROSPECTNEWOPENCUSTOMERNURTUREUNSUBSCRIBEinitialDealStatusstringenumInitial deal status. Defaults to NEW if not provided (e.g. DISCOVERY for a self-onboarded merchant).NEWNEWDISCOVERYSTATEMENT_REQUESTEDSTATEMENT_RECEIVEDPROPOSALCOMMITCLOSED_WONAWAITING_SIGNATUREUNDERWRITINGINFO_REQUESTEDONBOARDINGLIVEDECLINEDLOSTCHURNEDShow 15 enum valuesmerchantIdstringDB id of an existing merchant to link this lead to (LeadBusinesses.merchant_id). Must be unique per merchant.Responses 201Created 401Unauthorized 500Internal Server ErrorUpdated 5 months ago Get Lead BusinessesGet Lead BusinessDid this page help you?YesNo