/salesforce/contactOrLead

Finds the Salesforce Contact or Lead with an email address. A Contact is returned in contact, a Lead in lead, along with all of its synced fields and salesforceURL.

Pass withRelatedObjects=true to also get the record's Account, Opportunities, most recent Events and the most recent open and closed Tasks. Events, open Tasks and closed Tasks each return up to 11 records, with hasMore and a listLink to the full list in Salesforce.

By default the lookup reads Mixmax's synced copy of your Salesforce data. Pass fetch to look the email up in Salesforce directly instead. That is slower, and fails with 500 if Salesforce can't be reached.

Requires a personal API token whose user is connected to Salesforce.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required

The email address to look up.

string
enum

Pass true to include the related Account, Opportunities, Events and Tasks.

Allowed:
string

Pass true to query Salesforce directly instead of Mixmax's synced copy. Any non-empty value, including false, has the same effect, so leave it out for the default.

Responses

204

No record matches. The response has no body.

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json
Psst... like working with APIs? Come join us!