How to goto the next page from API call | Community
Skip to main content
April 19, 2016
Question

How to goto the next page from API call

  • April 19, 2016
  • 2 replies
  • 1308 views

Hello,

I am calling multiple leads API by giving list id and i can see by default its only gives back 300 leads and give you a nextpageToken. Could some one please tell me how to get the next page?

Thanks.

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

2 replies

SanfordWhiteman
Level 10
April 19, 2016

You include the nextPageToken in the next call.  This is all in the docs: Get Lead Activities » Marketo Developers

Grégoire_Miche2
Level 10
April 19, 2016

The first call returned a nextpage token. Call again the API, passing this next page token as a parameter.

-Greg