function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ShunnShunn 

Marketo to Salesforce Endpoints

Hi All,

Would anyone know the endpoints for marketo to salesforce integration. I am able to find the marketo endpoints but not sure how to tell the salesforce endpoints.

Thanks,

John
ShirishaShirisha (Salesforce Developers) 
Hi Shunn,

Greetings!

I would suggest you to check the below marketo forum for more details.

https://learn.azuqua.com/connector-reference/marketo2_29/Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri

 
AnudeepAnudeep (Salesforce Developers) 
Hi John, 

As per my knowledge, to integrate an external web app (for example Marketo) with the Salesforce API, you need to use the OAuth 2.0 authorization flow. See OAuth Authorization Flows for more details

If we look at OAuth 2.0 Web Server Flow for Web App Integration, for example, You need to request an authorization code first. Below is the URL
 
https://login.salesforce.com/services/oauth2/authorize?
client_id=3MVG9IHf89I1t8hrvswazsWedXWY0i1qK20PSFaInvUgLFB6vrcb9bbWFTSIHpO8G2jxBLJA6uZGyPFC5Aejq&
redirect_uri=https://www.mycustomerorderstatus.com/oauth2/callback&
response_type=code

and then request for an access token
 
POST /services/oauth2/token HTTP/1.1
Host: mycompany.salesforce.com
Content-length: 307
Content-type: application/x-www-form-urlencoded
grant_type=authorization_code&
code=aPrxhgZ2MIpkSy0aOdn07LjKFvsFOis6RGcWXz7p8JQCjcqfed5NQLe7sxWwMY_JQFuLwHRaRA==&
client_id=3MVG9IHf89I1t8hrvswazsWedXWY0iqK20PSFaInvUgLFB6vrcb9bbWFTSIHpO8G2jxBLJA6uZGyPFC5Aejq&
client_secret=*******************&
redirect_uri=https://www.mycustomerorderstatus.com/oauth2/callback

You can make further calls using this access token

If you find this information helpful, please mark this answer as Best. It may help others in the community. Thank You!

Anudeep