rest-api-patterns

Document Salesforce REST API patterns for custom endpoints, Composite API, and Bulk API 2.0.

2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/bhanu91221/claude-sfdx-iq --skill rest-api-patterns-bhanu91221
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rest-api-patterns
Source: https://github.com/bhanu91221/claude-sfdx-iq/tree/main/skills/rest-api-patterns
Command: npx skills add https://github.com/bhanu91221/claude-sfdx-iq --skill rest-api-patterns-bhanu91221

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Document Salesforce REST API patterns to reduce integration guesswork and inconsistencies.

Core Features & Use Cases

  • Comprehensive guidance on Custom REST endpoints, REST request/response structures, Composite API usage, Bulk API 2.0 workflows, and common sObject operations.
  • Practical examples and best practices for authentication, error handling, and data formatting across Salesforce integrations.
  • Real-world use case: design a robust integration layer that standardizes endpoints, error handling, and bulk operations to support admin and dev workflows.

Quick Start

Ask Claude to apply these Salesforce REST API patterns to your integration project.

Frequently Asked Questions about rest-api-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for Salesforce REST API integration patterns?

Salesforce REST API integration patterns provide design guidance, code examples, and testing approaches for custom endpoints, Composite API, Bulk API 2.0, and authentication flows to reduce integration guesswork. They standardize endpoints, error handling, and data formatting across Salesforce integrations.

How do I design custom REST endpoints in Salesforce?

Design custom REST endpoints in Salesforce by applying standardized design guidance for REST request and response structures, ensuring consistent data formatting, error handling, and safe implementation across common sObject operations to support admin and developer workflows.

When should I use Salesforce Composite API vs Bulk API 2.0?

Use Salesforce Composite API to chain multiple REST requests into a single call, reducing round trips. Use Bulk API 2.0 for processing large data volumes efficiently. Both patterns include design guidance and configuration recommendations for safe implementation.

How do I handle authentication flows for Salesforce REST API integrations?

Handle authentication flows for Salesforce REST API integrations by following documented best practices and configuration recommendations. The patterns define specific authentication approaches, error handling, and testing methodologies to implement secure integrations efficiently.

How do I standardize error handling across Salesforce REST API endpoints?

Standardize error handling across Salesforce REST API endpoints by applying documented integration patterns that define consistent error response structures, data formatting, and testing approaches, reducing inconsistencies and guesswork across custom REST endpoints and API operations.

Can I use these Salesforce REST API patterns for both admin and developer workflows?

Yes, these Salesforce REST API patterns support both admin and developer workflows. They provide practical examples and best practices for designing a robust integration layer that standardizes endpoints, bulk operations, and authentication flows across diverse integration scenarios.