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

cwwrezerone
Level 1

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

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.

Tags (1)
1 REPLY 1
Oz_Platero
Level 6

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

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/#/Activi...
  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