---
title: Pagination with Body Testing API
date: 2025-12-10T06:15:41Z
modified: 2026-06-15T07:25:01Z
permalink: "https://ezintegrations.ai/docs/fetch-data-post-pagination/"
type: docs
status: publish
excerpt: ""
wpid: 3764
doc_category:
  - AI Workflow Testing APIs
author: Automation Hub
---

Pagination with Body Testing API demonstrates a pagination approach where parameters are sent in the request body instead of query parameters. This is useful for APIs that require POST requests for retrieving paginated data.

---

## Method

**POST**

---

## Endpoint

{{base_url}}/partner/orderdetails-paginationbody
---

## Query Parameters



| Parameter Name | Value | Description |
| --- | --- | --- |
| pageSize | {%max\_num%} | Maximum records per page |
| pageToken | {%min\_num%} | Starting point for records |

---

## Headers



| Header Name | Value |
| --- | --- |
| Content-Type | application/json |

---

## Body

{
  "pageToken": 1,
  "pageSize": 100
}
---

## Authorization

**Type:** OAuth 2.0

**Refresh Token Endpoint Method:** POST

**Refresh Token Endpoint URL:** {{base\_url}}/partner/api/oauth2/token

#### Headers

{
  "Content-Type": "application/x-www-form-urlencoded"
}
#### Body (OAuth)

{
  "grant_type": "password",
  "client_id": "{{client_id}}",
  "client_secret": "{{client_secret}}",
  "username": "training@bizdata360.com",
  "password": "B!zdata@360"
}
---

## Pagination Details

**Pagination Type:** Pagination with Body

**User Key:** nextPageToken

**Key to update:** pageToken

**Data Collection Key:** \[‘items’\]

#### Numeric Parameters



| Parameter | Value | Description |
| --- | --- | --- |
| Minimum Number | 1 | Minimum records per page |
| Maximum Number | 100 | Maximum records per page |

---

## **Notes:**

- Useful for APIs requiring POST requests with pagination parameters in the body.

---

## **Authentication Instructions:**

To acquire the **Base URL** and create your own **Client ID and Secret**, please refer to the **My Profile** section within your Bizdata account.

## Topics

**Docs Categories:** [AI Workflow Testing APIs](https://ezintegrations.ai/wp-content/uploads/wp-mfa-exports/taxonomy/doc_category/ai-workflow-testing-apis.md)