Marketing Automation REST endpoint
This page describes the MarketingLeadEndpoint
endpoint, which can be
used to get data about marketing leads.
GET
Get a marketing lead
Gets a marketing lead from your third-party marketing software solution, such as Marketo or Salesforce Sales Cloud, based on a filter.
Parameters
Parameter | Description | Type | Data Type |
---|---|---|---|
|
required The definition name. For example: |
|
|
|
required The type of filter applied to the results. For example: |
|
|
|
|
|
|
|
required The fields whose data you want to get. For example: |
|
|
|
optional If set to If not used or |
|
|
Example
Gets the first and last names for the lead with the email
[email protected]
from Marketo.
http://localhost:8080/magnoliaPublic/.rest/marketing-automation/v1/leads?definitionName=marketo&filterType=email&[email protected]&fields=FirstName,LastName
Response
{
"id": {
"externalId": "13",
"definitionName": "marketo"
},
"values": {
"id": 13,
"firstName": "Jane",
"lastName": "Doe",
"email": "[email protected]"
}
}