API for Web Activity? | Community
Skip to main content
Ashley_Blancha1
New Participant
October 31, 2017
Solved

API for Web Activity?

  • October 31, 2017
  • 2 replies
  • 1786 views

Is there a way to access Web Activity for a Person by an API call?

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 Mark_Price

Hello Ashley,


There is a way to do this.  Here are some links

REST API:

http://developers.marketo.com/rest-api/lead-database/activities/#query​

^ you can specify the activity type id in the api call

*Use Get Activity Types API call to get the ids for your instance

http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Activities/getAllActivityTypesUsingGET

SOAP API:

http://developers.marketo.com/soap-api/activities/getleadactivity/

http://developers.marketo.com/soap-api/activities/getleadchanges/

^ you can specify the activity type id in the api call

Hope it helps!

2 replies

Mark_PriceAccepted solution
New Participant
October 31, 2017

Hello Ashley,


There is a way to do this.  Here are some links

REST API:

http://developers.marketo.com/rest-api/lead-database/activities/#query​

^ you can specify the activity type id in the api call

*Use Get Activity Types API call to get the ids for your instance

http://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#!/Activities/getAllActivityTypesUsingGET

SOAP API:

http://developers.marketo.com/soap-api/activities/getleadactivity/

http://developers.marketo.com/soap-api/activities/getleadchanges/

^ you can specify the activity type id in the api call

Hope it helps!

SanfordWhiteman
New Participant
October 31, 2017

Of course, constrain the /activities.json API endpoint by leadIds.