---
title: Salesforce Testing API (Salesforce API replica)
date: 2025-12-10T06:25:12Z
modified: 2026-02-26T10:28:29Z
permalink: "https://ezintegrations.ai/docs/how-to-paginate-salesforce-data/"
type: docs
status: publish
excerpt: ""
wpid: 3772
doc_category:
  - AI Workflow Testing APIs
author: Automation Hub
---

Salesforce Testing API demonstrates OAuth2.0 pagination for Salesforce datasets.

---

#### Method

**GET**

---

#### Endpoint

{{base_url}}/partner/services/data/v1.0/query/?q=SELECT+CUSTOMER_ID,CUSTOMERNAME,CUSTOMEREMAIL,CUSTOMERPHONE+FROM+QA_CUSTOMER_DATA
---

#### 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

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

#### Numeric Parameters



| Parameter | Value | Description |
| --- | --- | --- |
| Minimum Number | Minimum records per page |  |
| Maximum Number | 1000 | Maximum records per page |

---

#### **Notes:**

- Follows Salesforce query structure.

---

#### **Authentication Instructions:**

To acquire the **Base URL** and create your own **Client ID and Secret**, please refer to the **My Profile** section within your eZintegrations 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)