Bulk API 2.0 and Bulk API Developer Guide
Spring '25 preview (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 2.0
Perform ingest and query operations with Salesforce Bulk API 2.0. The REST-based Bulk
API 2.0 provides a programmatic option to asynchronously insert, upsert, query, or delete large
datasets in your Salesforce org. This API is enabled by default for Performance, Unlimited,
Enterprise, and Developer Editions. The API Enabled permission must be enabled on the profile
assigned to users accessing an org or data via the API.
-
How Requests Are Processed
Bulk API 2.0 ingest jobs allow you to upload records to your org by using a CSV file representation. Bulk API 2.0 query jobs return records based on the specified query. A Bulk API 2.0 job specifies which object is being processed (for example, Account or Opportunity) and what type of action is being used (insert, upsert, update, or delete). You process a set of records by creating a job that contains one or more batches. -
Quick Start: Bulk API 2.0
Get up and running with Bulk API 2.0 by sending a few requests to Salesforce. This Quick Start takes you from setting up a basic environment to inserting, upserting, and querying records using Bulk API 2.0. Experience how to use Bulk API 2.0 via cURL in a free Salesforce Developer Edition org by authenticating and following the examples. -
Bulk API 2.0 Ingest
With Bulk API 2.0, you can insert, update, upsert, or delete large data sets. Prepare a comma-separated value (CSV) file representation of the data you want to upload, create a job, upload job data, and let Salesforce take care of the rest within your org. -
Bulk API 2.0 Query
Bulk query jobs enable asynchronous processing of SOQL queries. They’re designed to handle queries that return large amounts of data (2,000 records or more). -
Headers
These are custom HTTP request and response headers that are used for Bulk API 2.0. -
Limits
Learn about the importance of limits, and compare the limits and allocations of Bulk API 2.0 and Bulk API. For Bulk API 2.0, we simplified limits, which are available to clients via the REST API /limits endpoint. -
Bulk API 2.0 Older Documentation
Find versions of the Bulk API 2.0 documentation released prior to Summer ’21 (API version 52.0). -
Bulk API 2.0 End-of-Life Policy
See which Bulk API 2.0 versions are supported, unsupported, or unavailable.