IntegrationBeginnercompositerest
What is the Composite REST API?
Real World Scenario
Mobile app needs Account, Contact, and Opportunity created in one user action with one round trip.
Expected Answer
• Composite API bundles multiple subrequests in one HTTP call
• Reduces latency and API call count from chatty clients
• Supports dependency references between subrequests in same composite
• All subrequests share same transaction boundary in allOrNone mode
• Useful for mobile and external apps optimizing network usage
Follow-Up Questions & Answers
Click to expand — each follow-up includes a direct, interview-ready answer
Composite for small related sets in real time. Bulk for thousands of independent rows asynchronously.
Architect Perspective
Composite = one trip, related records—good mobile interview example.