#SalesforceSpring26 [Tip 25] - Expose Custom SOQL via REST Using Named Query API (GA)

Salesforce now lets you define and expose custom SOQL queries as REST endpoints using the Named Query API.

Named Query APIs are designed to be fast and scalable. They allow REST API clients to retrieve data more efficiently compared to traditional Flow- or Apex-based approaches.

Product Area: Integration

Navigate to Setup → Named Query API. Define the Query attributes and the SOQL Query. Note the API Endpoint.

Use the API Endpoint in your REST API call.

References & Useful URLs