Salesforce Decode
Salesforcedecode
Back to questions
IntegrationBeginnerrestintegrationbasics

What is a REST API integration with Salesforce?

Real World Scenario

An external ERP must create Accounts in Salesforce nightly. You explain REST at a high level.

Expected Answer

• REST uses HTTP methods GET, POST, PATCH, DELETE on resource URLs with JSON payloads • Salesforce REST API exposes sObjects, query, composite, and custom Apex REST endpoints • Clients authenticate with OAuth tokens, not username/password in production • API version in URL (e.g., v62.0) should be pinned and upgraded deliberately • Design for idempotency and error handling on retries

Follow-Up Questions & Answers

Click to expand — each follow-up includes a direct, interview-ready answer

REST suits interactive single or small batch operations. Bulk API handles large data loads asynchronously with job polling.

Architect Perspective

REST interview opener: HTTP + JSON + OAuth + versioning. Hit those four every time.