Salesforce
communityCloud-based CRM platform for sales, service, marketing, and analytics.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
/services/data/v59.0/queryQuery records using SOQL
Parameters
qSOQL query string (stringrequiredReturns
totalSize, done, records[] with Id, Name, and queried fieldsGET
/services/data/v59.0/sobjects/{sobject}/{id}Get a record by SObject type and ID
Parameters
idrecord ID (stringrequiredsobjectobject type e.g. Accountrequired— Contact (stringReturns
all fields of the recordPOST
/services/data/v59.0/sobjects/{sobject}Create a new record
Parameters
bodyfield values JSON (objectrequiredsobjectobject type (stringrequiredReturns
id, success, errors[]GET
/services/data/v59.0/searchFull-text search across objects
Parameters
qSOSL search string (stringrequiredReturns
searchRecords[] with Id, Name, type