Is there a way to send a Lead ID on a webhook, so that a third party retrieves the lead info through Marketo's API? | Community
Skip to main content
February 17, 2016
Solved

Is there a way to send a Lead ID on a webhook, so that a third party retrieves the lead info through Marketo's API?

  • February 17, 2016
  • 3 replies
  • 3643 views

Is there a way to send a Lead ID on a webhook, so that a third party retrieves the lead info through Marketo's API?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

{{Lead.Id}}

3 replies

February 17, 2016

Hi Paul,

In the web hook payload, you can use Token '{{lead.ID (L)}}'

Hope this helps

Rajesh

February 17, 2016

Thanks, we'll check this out.

SanfordWhiteman
Level 10
February 17, 2016

Paul, I don't know what the end goal is here, but take extreme care in using the severely rate-limited REST/SOAP API via the relatively unlimited outbound Webhooks API.  You will (obviously) be capped at the lower limit.  REST/SOAP are engineered for bulk operation, and anything you can do to buikify, you should.  For example, exporting data in bulk via the REST and then querying a separate store via webhook will yield 300x more capacity.

What do you actually plan to do with the outbound singleton API calls?

February 17, 2016

OK thanks for the info, We'll just paste the fields on the webhook, instead of trying to pull the fields through the REST API.

Grégoire_Miche2
Level 10
February 17, 2016

Hi Paul,

On top of Sanford's point, what don't you just pass the lead infos through the webhook ? You do not really need to query the REST API to get the lead info.

-Greg

February 17, 2016

Thanks for the reply, Greg - as noted to Sanford, we'll just paste the fields on the webhook, instead of trying to pull the fields through the REST API.