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.