Skip to main content
Answered

Static Page Metadata In API Response

  • July 13, 2023
  • 1 reply
  • 47 views

Hi,

I am making requests against the “Search Conversations” endpoint https://developers.intercom.com/intercom-api-reference/reference/searchconversations and paginating (using incremented pages) until the “total_pages” number returned in the response.

However, I noticed that each response always shows page “1” with the same next page number of “2” along with an identical starting_after token each time under the “pages” object. Why is this the case -- can a support member help me get this addressed?

Thanks,

Clouse

Best answer by Eden

Hi@Clouse 👋 Eden from the support engineer team here.

 

The “total_pages” that appear in the response when making a call to the Conversation Search  endpoint depends on the amount of conversations being returned in the response. When you are making this call to that endpoint, are you seeing a large number showing for the “total_count” of conversations being returned?

 

When paginating through the response, you should also be able to specify the amount of results shown on each page. Just a note here, you will need to use the Pagination and Sorting type of pagination for Search endpoints. 

View original
Did this topic help you find an answer to your question?

1 reply

Eden
Employee
Forum|alt.badge.img
  • Premier Customer Support Engineer
  • 121 replies
  • Answer
  • July 19, 2023

Hi@Clouse 👋 Eden from the support engineer team here.

 

The “total_pages” that appear in the response when making a call to the Conversation Search  endpoint depends on the amount of conversations being returned in the response. When you are making this call to that endpoint, are you seeing a large number showing for the “total_count” of conversations being returned?

 

When paginating through the response, you should also be able to specify the amount of results shown on each page. Just a note here, you will need to use the Pagination and Sorting type of pagination for Search endpoints. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings