Hi,
We are trying to execute the Associate Lead API (Associate Lead » Marketo Developers ) but here cookie field is required.
So from where should we get the cookie value of the lead because when I hit the Get Leads API, it wont display cookie value.
Please suggest how to execute this API?
URL: <REST API Endpoint URL>/rest/v1/leads/{id}/associate.json
Parameters | Required/Optional | Description |
id | Required | Specified in URL request path |
cookie | Required | Cookie value of lead |
Hi, Deepali.
you can get the value from _mkto_trk cookie. Of course, you will need to fetch that cookie from the user's browser before you send it.
Tks!