How to get the data submitted in the Marketo form via API? | Community
Skip to main content
New Participant
March 2, 2021
Question

How to get the data submitted in the Marketo form via API?

  • March 2, 2021
  • 1 reply
  • 1885 views

Hi,

We are trying to get the details of users who have submitted the Marketo form via API. Can anyone here let us know how we can get this data.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Oz_Platero
New Participant
March 2, 2021

Hello @cwwrezerone ,

 

There are several steps you will need to clear first such as authentication, getting a next page token, getting your activity type ID.  I recommend reading through the Developer documentation.

 

High level

  1.  Authenticate
    1. https://developers.marketo.com/rest-api/endpoint-reference/authentication-endpoint-reference/
  2. Figure out the date range you are interested in to get a paging token
    1. https://developers.marketo.com/rest-api/paging-tokens/
  3.  Call activities end point to figure out your activity ID
    1. https://developers.marketo.com/rest-api/endpoint-reference/lead-database-endpoint-reference/#/Activities/getLeadActivitiesUsingGET
  4. Narrow your scope by specifying either LeadIDS or membership of a static list.
    1. Maybe you have campaign in Marketo that adds those form fills to a static list.
    2. https://developers.marketo.com/rest-api/lead-database/activities/#query

Thank you,

Oz