All integrations
Salesforce
Accounts, opportunities, leads and custom objects in Salesforce.
CRM and sales
How an agent reaches it
MCPREST APICLI
How you authenticate
OAuth
Connection details
- Base URL
- https://{instance}.my.salesforce.com/services/data/v61.0
- Pagination
- cursor
Common endpoints
| run SOQL | GET /query?q=SELECT+Id,Name+FROM+Account+LIMIT+10 |
| read a record | GET /sobjects/Account/{id} |
| create a record | POST /sobjects/Account |
| describe an object | GET /sobjects/Account/describe |
Worth knowing
- The base URL is per-org and only known after the token exchange. Calling login.salesforce.com for data always fails.
- SOQL in a query string must be URL-encoded, including spaces and the plus sign.
- Custom objects and fields carry a __c suffix.