Salesforce
The simplest Salesforce API you have ever seen!
TL;DR
This API proxy lets you do any operation on your Salesforce data but removes from you all the complexity of setting up and using the classic Salesforce API π€©
No need to worry about setting up a connected app, rotating the security token, using bulk API or not, record formatting and more! Everything is managed for you πββοΈ
Operations:
Upsert records (tries to update a record and inserts it if it is not found)
Describe (reads instance or object metadata)
Regions π
Depending on your region, you can use
πͺπΊ https://eu.api-proxy.stacksync.com/
πΊπΈ https://us.api-proxy.stacksync.com/
Insert
Insert up to 10 000 records with a single query. Simply supply the field values for each record you want to create. The response will contain one success confirmation per record meaning that, within the same request, each record can succeed or fail independently of each other. For each sent record, you will receive a detailed success or error message.
Example response body:
Upsert
Create or update (upsert) up to one record per request based on a match_key which can be the record Id or any custom field.
If the key is not matched, then a new object record is created.
If the key is matched once, then the existing object record is updated.
If the key is matched multiple times, then an error is generated and the object record is neither inserted nor updated.
Example response body:
Update
Update up to 10 000 records per request. Existing field values in Salesforce will be overwritten with the new values provided.
Example response body:
Delete
Delete up to 10 000 records per request.
Example response body:
Get
Get the content of up to 10 000 records. The number of sObjects returned matches the number of Ids passed in the request.
You can pass the optional fields parameter (list of field names that you want to be returned for each record). If the list of fields is not passed or is empty "fields":[], all fields are returned.
Example response body:
SOQL
Executes an SOQL query on your Salesforce instance.
Describe Salesforce Instance
Retrieves metadata for the Salesforce instance, containing a list of every available object.
Describe Object
Retrieves the metadata for a specific Salesforce table.
Add a custom field to a Salesforce object
Add a custom field to a Salesforce object. Standard and custom objects are supported.
The required request body parameters are:
typethe type of the custom field you wish to createnamethe name of the custom field you wish to createlabelthe label associated to the custom field you wish to create
type can be any of the field types presented here
Unless otherwise noted, all fields are creatable, filterable, and nillable.
Some optional parameters may be required depending on the type,
(eg: length is required when creating a custom field of type Text)
Learn more about the API behavior here.
Example Response Body:
Example requests for different field types:
Example:
Pass Through
Make a request to any Salesforce API by providing the URL, Request Method and the Request Body.
A request will be sent to the URL provided using the request method and request body. The request body can be empty.
Example request:
Get Account Record
Example response:
Last updated
