Skip to main content
Feb 17, 2016 2:38 AM UTC
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?

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.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Aug 18, 2022 8:42 PM UTC

{{Lead.Id}}

8 replies

Feb 17, 2016 3:10 AM UTC

Hi Paul,

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

Hope this helps

Rajesh

Translate
Feb 17, 2016 3:55 AM UTC

Thanks, we'll check this out.

Translate
SanfordWhiteman
User Group Leader
User Group Leader
Feb 17, 2016 4:05 AM UTC

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?

Translate
Feb 17, 2016 6:22 PM UTC

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.

Translate
Grégoire_Miche2
Level 10
Feb 17, 2016 10:15 AM UTC

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

Translate
Feb 17, 2016 6:23 PM UTC

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.

Translate