Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auth for Pushleads #12

Open
MACscr opened this issue Aug 2, 2017 · 1 comment
Open

Auth for Pushleads #12

MACscr opened this issue Aug 2, 2017 · 1 comment

Comments

@MACscr
Copy link

MACscr commented Aug 2, 2017

Your PushLeadToMarketo.php example seems pretty straightforward, much simpler than the convoluted Marketo REST api docs I have seen so far. With that said, since I have no direct experience with Marketo yet, how should I direct a Marketo customer to get me the following details and make sure it has the right permissions for me to simply push leads to their system. This is from within your example:

	private $host = "";//CHANGE ME
	private $clientId = "";//CHANGE ME
	private $clientSecret = "";//CHANGE ME

Also, are there no such things as leads list that they can be added to instead of some programname with a static string that does not appear to be predefined within marketo.

@everlyd
Copy link
Collaborator

everlyd commented Aug 2, 2017

The Push Leads to Marketo endpoint requires Read-Write Lead permission as indicated under "Implementation Notes" here:
http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#/Leads/pushToMarketoUsingPOST

For ideas on how to ask customers for those 3 data points, you could look at what others have done on launchpoint.com. Here is one example:
http://launchpoint.marketo.com/assets/company/1239/8720772402749332887marketoIntegration-LP.pdf

To add leads to a list, please see Add to List endpoint:
http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#/Static_Lists/addLeadsToListUsingPOST

Please send feedback on Developer Site to: [email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants