Get leads
GET
https://api.metahvac.com
/salesforce/v1.1/leads
Retrieve list of leads with v1.1 fields including Rooms__c and When_Are_You_Planning_to_Purchase__c
query Parameters
fieldsstring[]Comma seperated list of fields from Salesforce
createdAfterstring · date-timeISO formatted date to filter leads after
countnumbernumber of leads returned for pagination use
cursorCreatedDatestring · date-timePAGINATION USE ONLY: Last date from previous query
cursorIddatePAGINATION USE ONLY: Last ID of lead from previous query
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Successful response for list of leads
IdstringCreatedDatestring · date-timeLeadID__cstringStatusstringLeadSourcestringNamestringBusiness_Unit__cstringStateCodestringPostalCodestringCampaign__cstringmarketing_term__cstringmarketing_medium__cstringutm_advertising_campaign__cstringRooms__cstringWhen_Are_You_Planning_to_Purchase__cstring