How to execute the Associate Lead (POST) API | Community
Skip to main content
November 26, 2015
Question

How to execute the Associate Lead (POST) API

  • November 26, 2015
  • 1 reply
  • 1465 views

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

ParametersRequired/OptionalDescription

id

Required

Specified in URL request path

cookie

Required

Cookie value of lead

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

1 reply

December 1, 2015

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!