01Chapter 1: The Salesforce API landscape at a glanceSalesforce exposes many APIs, and each one targets a different job. This chapter gives you a map of them. Later chapters cover authentication, queries, and each API in detail.2 min read
02Chapter 2: Authenticating with OAuth 2.0This chapter assumes you know basic HTTP and JSON, and that you have seen Salesforce objects and records. Every Salesforce API call needs an access token. This chapter shows how an external client gets one, and which OAuth 2.0 flow fits which scenario.2 min read
03Chapter 3: Querying data with SOQL and SOSLThis chapter assumes you know SQL-style querying, can read JSON, and already have an access token from the OAuth chapter. The examples use the REST API as the transport, so the same queries also work in Apex and most other Salesforce tools.2 min read
04Chapter 4: REST API: the default choice for record accessThis chapter assumes you can already get an access token (see the OAuth chapter), you know HTTP verbs and JSON, and you know Salesforce objects, fields, and records. The examples use curl against a My Domain URL.2 min read
06Chapter 6: API limits and error handlingThis chapter assumes you can already call the REST API with an access token and read short Python and JSON snippets. Limits and errors affect which API you choose, because each API spends a different budget.2 min read
07Chapter 7: Bulk API 2.0 for large data volumesThis chapter assumes you can already authenticate with OAuth 2.0, write basic SOQL, and call the REST API. It covers when and how to load or extract large record sets with Bulk API 2.0.2 min read
08Chapter 8: Apex REST: custom endpoints for custom logicThis chapter assumes you can read basic Apex, know how the REST API authenticates with an OAuth access token, and understand SOQL. Here you will see when a custom endpoint is worth writing and how to build one.2 min read
09Chapter 9: SOAP API and when it still fitsThis chapter assumes you know HTTP and JSON basics, understand Salesforce objects and records, and have read the earlier chapters on authentication and the REST API. SOAP is older than REST in Salesforce, but it is still supported and still the right choice in a few situations.3 min read
10Chapter 10: GraphQL API for flexible readsThis chapter assumes you can send an authenticated REST request with a bearer token (covered in the authentication and REST chapters). It also assumes you know SOQL relationship queries.2 min read
12Chapter 12: Event-driven integration with Platform Events, CDC, and Pub/Sub APIThis chapter assumes you can authenticate with OAuth 2.0 (covered earlier), read JSON, and know the difference between polling an API and receiving a push. It covers the event APIs that let Salesforce notify external systems instead of waiting for them to ask.3 min read
13Chapter 13: Metadata API for deploying configurationThis chapter assumes you know Salesforce objects and fields, can read basic XML, and have used the REST or SOAP APIs from earlier chapters. The Metadata API works on the definition of an org, not on its records.3 min read
14Chapter 14: Tooling API for development toolsThis chapter assumes you can call the REST API with a bearer token, write basic SOQL, and read simple Apex. It covers what the Tooling API is, how it differs from the Metadata API, and the mistakes people commonly make with it.2 min read
15Chapter 15: Choosing the right API: a decision frameworkThis chapter assumes you have read the earlier chapters on REST, Composite, Bulk API 2.0, Apex REST, SOAP, GraphQL, UI API, the event APIs, Metadata API and Tooling API. It also assumes you can authenticate with OAuth 2.0 and know the basic API limits. Here you turn those pieces into a repeatable wa2 min read