Retrieve salesforce accounts by type with search params
Request for account data by designated types.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Rate Limiting Response
typestring · requiredA URI reference that identifies the problem.
titlestring · requiredA short, human-readable summary of the problem.
statusnumber · requiredThe HTTP status code.
instancestring
Create lead
Create a lead in Salesforce. This will take care of assigning the passed campaign ID to the newly created lead if it is included.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Responses
Success response
successbooleanmessagestringdatastring
Get leads
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__cstring