Sync Salesforce records via API request

API toolWorkatoCRMMarketing

What it does

When someone makes an API request to this endpoint, this automation searches Salesforce using a SOQL query. The response returns all matching records to the caller in real time.

Who it's for

Engineering teams who need to retrieve Salesforce records programmatically without direct database access.

How teams use this

Retrieve customer records from Salesforce

Call this API to search Salesforce for customers by name or ID and get back their account details. Teams can integrate this into their own tools without needing direct Salesforce access.

Build a mobile app lookup feature

Use this API endpoint in a mobile application so field teams can search Salesforce records on the go. The same query logic works across web and mobile platforms.

Filter results by record type or status

Add a condition to the SOQL query so only records matching a specific type or status are returned. This narrows results and makes the API more useful for specific workflows.

How it works

  1. Receive the API request. Define the request and response parameters for this API endpoint so callers know what data to send and what they will receive back.
  2. Search Salesforce with SOQL. Query Salesforce using SOQL to find records matching the request parameters, then return the results to the caller through the API Platform.
  3. Return the response. Send a 200 OK response with the matching records so the API caller receives the data they requested.