/salesforce/contactOrLead

Get all information related to a Contact or Lead from an email address.

This endpoint can be used to find a Contact or Lead knowing only its email.

Name

Type

Description

account

Object

If there is a Salesforce Account associated with this Contact, then this property will contain that account with all its fields. This is never set when the response contains a Lead.

closedTasks

Object

Information about this Contact or Leads activity history.

closedTasks.tasks

Object[]

An array of the 11 most recently closed tasks associated with this Contact or Lead.

closedTasks.hasMore

Boolean

True if there are more closed Tasks associated with this Contact or Lead.

closedTasks.listLink

String

A link to this Contact or Lead's activity history in salesforce.

openTasks.tasks

Object[]

An array of the 11 most recently created open Tasks associated with this Contact or Lead.

openTasks.hasMore

Boolean

True if there are more open Tasks associated with this Contact or Lead.

openTasks.listLink

String

A link to this Contact or Lead's open task list.

contact

Object

If the provided email is associated with an existing Contact, this object contains all of that Contact's fields.

lead

Object

If the provided email is associated with an existing Lead, this object contains all of that Lead's fields.

opportunities

Object[]

A list of opportunities associated with this Contact. This is never set when returning a Lead.

Language
Click Try It! to start a request and see the response here!