Bulk API 2.0 and Bulk API Developer Guide
Summer '25 preview (API version 64.0)
Spring '25 (API version 63.0)
Winter '25 (API version 62.0)
Summer '24 (API version 61.0)
Spring '24 (API version 60.0)
Winter '24 (API version 59.0)
Summer '23 (API version 58.0)
Spring '23 (API version 57.0)
Winter '23 (API version 56.0)
Summer '22 (API version 55.0)
Spring '22 (API version 54.0)
Winter '22 (API version 53.0)
Summer '21 (API version 52.0)
Spring '21 (API version 51.0)
Winter '21 (API version 50.0)
Summer '20 (API version 49.0)
Spring '20 (API version 48.0)
Winter '20 (API version 47.0)
Summer '19 (API version 46.0)
Spring '19 (API version 45.0)
Winter '19 (API version 44.0)
Summer '18 (API version 43.0)
Spring '18 (API version 42.0)
Winter '18 (API version 41.0)
Summer '17 (API version 40.0)
Spring '17 (API version 39.0)
Winter '17 (API version 38.0)
Summer '16 (API version 37.0)
Spring '16 (API version 36.0)
Winter '16 (API version 35.0)
Summer '15 (API version 34.0)
Spring '15 (API version 33.0)
Winter '15 (API version 32.0)
Summer '14 (API version 31.0)
Spring '14 (API version 30.0)
No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Bulk API
Bulk API is the predecessor to the current Bulk API 2.0. Although Bulk API gives you
more fine-grained control over the specifics of jobs and batches, its work-flow is more complex
than Bulk API 2.0. If the feature set and limits are a unique match to your project requirements,
use Bulk API.
-
How Bulk API Works
You process a set of records by creating a job that contains one or more batches. -
Quick Start: Bulk API
You process a set of records by creating a job that contains one or more batches. The job specifies which object is being processed and what type of operation is being used. Ingest jobs are defined by CSV, XML, JSON, or binary attachments. Query jobs are defined by a SOQL statement. -
Bulk API Ingest
With Bulk API, you can insert, update, or upsert large data sets into your Salesforce org. Prepare a CSV, XML, or JSON file representation of the data you want to upload, create a job, upload job data, and let Salesforce take care of the rest. -
Bulk API Query
Use bulk query to efficiently query large data sets and reduce the number of API requests. A bulk query can retrieve up to 15 GB of data, divided into 15 files of 1 GB each. The data formats supported are CSV, XML, and JSON. -
Headers
These are the custom HTTP request and response headers that are used for Bulk API. -
Limits
Note the following limits specific to Bulk API. -
Bulk API Reference
These are the supported resources for the Bulk API, as well as the details on errors and processing limits. -
Sample Client Application Using Java
Use this code sample to create a test client application that inserts a number of account records using the REST-based Bulk API. -
Map Data Fields
To use Bulk API to import data that was exported directly from Microsoft Outlook, Google Contacts, and other third-party sources, map data fields in any CSV import file to Salesforce data fields. It's not necessary for the CSV import file to be Bulk API-compatible. -
Bulk API End-of-Life Policy
See which Bulk API versions are supported, unsupported, or unavailable.