Skip to main content

Marketo.Leads

Returns a table with lead details.

Syntax

Marketo.Leads(
url as text,
leadIds as list,
optional options as any
) as table

Remarks

Makes a call to the Marketo REST API endpoint at url/rest/v1/leads.json. All leads in list leadIds are returned.

Examples

Example #1

Pulls the details for three leads

Marketo.Leads("https://100-AAA-999.mktorest.com/rest", {50, 2343, 88498})

Result:

A table with details for the supplied leads