API for Web Activity? | Community
Skip to main content
Ashley_Blancha1
Level 2
Oct 31, 2017 8:34 PM UTC
Solved

API for Web Activity?

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.
Mark_PriceAccepted solution
Level 6
Oct 31, 2017 9:09 PM UTC

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
Level 6
Oct 31, 2017 9:09 PM UTC

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!

Translate
SanfordWhiteman
Level 10
Oct 31, 2017 8:50 PM UTC

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

Translate