Salesforce
string · requiredstringstring · emailstringstringstringstringstringstringstringstringobjectnumberstringstringbooleanstringbooleanbooleanstringstringstringstringbooleanstringstringstring
string[]string · date-timenumberstring · date-timedatestring · requiredstringstring · date-timestringstringstringstringstringstringstringstringstringstringstringstringstringstring
GET
Get lead information
GET
https://api.metahvac.com
/salesforce/v1.1/leads/:id
Retrieve detailed information for a single lead by ID
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get lead information › Responses
200
Successful response for single lead details
idemailnameFirstNameLastNamecompanyphonecategorystatuspurchaseStatusaddressannualRevenueassignedContractorassignedBUdoNotSellapprovalCodeisApprovedHEARisQualifiedHEARtierHEARConsumer_Rebate_Summary__cContractor_Rebate_Summary__cCampaign__cAuto_Assign_Contractors__cRooms__cWhen_Are_You_Planning_to_Purchase__cRecordTypeIdGet leads
GET
https://api.metahvac.com
/salesforce/v1.1/leads
Retrieve a paginated list of leads with basic information for browsing
query Parameters
fieldsComma seperated list of fields from Salesforce
createdAfterISO formatted date to filter leads after
countnumber of leads returned for pagination use
cursorCreatedDatePAGINATION USE ONLY: Last date from previous query
cursorIdPAGINATION USE ONLY: Last ID of lead from previous query
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Get leads › Responses
Successful response for list of leads
IdCreatedDateLeadID__cStatusLeadSourceNameBusiness_Unit__cStateCodePostalCodeCampaign__cmarketing_term__cmarketing_medium__cutm_advertising_campaign__cRooms__cWhen_Are_You_Planning_to_Purchase__cRecordTypeId