@Vapi i am trying to retrieve my calls from vapi server using server sdk ,but I am facing difficulty understanding the pagination mechanism. Please, help me understand how does it work?
s
Shubham Bajaj
05/03/2025, 10:16 AM
ccing: @Kings_big💫
k
Kings_big💫
05/03/2025, 10:41 AM
Use the page and limit parameters for pagination. Make an initial request to page 1, check the totalItems in the response, and iterate through pages using the page parameter until all data is retrieved, based on the limit you set.
y
Yousef Banob
05/05/2025, 8:01 AM
thanks for answer, but I don't see a page parameter. where is it?
k
Kings_big💫
05/05/2025, 8:08 AM
The page parameter is included in the URL of GET requests to Vapi API endpoints that support pagination..