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?

Anonymous
Not applicable

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?

6 REPLIES 6
Anonymous
Not applicable

Re: 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?

Hi Paul,

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

pastedImage_0.png

Hope this helps

Rajesh

Anonymous
Not applicable

Re: 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?

Thanks, we'll check this out.

SanfordWhiteman
Level 10 - Community Moderator

Re: 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?

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?

Anonymous
Not applicable

Re: 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?

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

Re: 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?

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

Anonymous
Not applicable

Re: 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?

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.