Push API To Create Lead | Community
Skip to main content
New Participant
November 9, 2022
Solved

Push API To Create Lead

  • November 9, 2022
  • 1 reply
  • 2293 views

Hi All,

 

I am new to API's. I am looking for complete syntax of API to create single or multiple leads in Marketo Database.

 

Note: Sending calls via browser only for now so please provide syntax accordingly.

 

Regards,

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
What is your question?

The Push Lead endpoint is well-documented.

It cannot be called from a web page because of CORS restrictions. If you have a demo page to the contrary, please provide a link to such a page.

1 reply

SanfordWhiteman
New Participant
November 9, 2022

You cannot use the browser to call the REST API. So please start with a proper development environment.

 

Also, it’s best to explain exactly what you’re trying to achieve, describing your fuller environment, rather than leaping to a specific API endpoint. Otherwise we may have an XY Problem.

TouseefAuthor
New Participant
November 10, 2022

Thankyou for replying.

As of now I dont have proper development environment. But I used below URL to access lead from Marketo Database and its working.

<Rest URL>/v1/lead/LeadID.json?access_token=<access_token>

Same way I request url syntax to create lead in Marketo instance database.

Touseef
SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
November 10, 2022
What is your question?

The Push Lead endpoint is well-documented.

It cannot be called from a web page because of CORS restrictions. If you have a demo page to the contrary, please provide a link to such a page.