provider Records GET
/sobjects/{sObjectName}/{id} @utdk/salesforce
/sobjects/{sObjectName}/{id} Get a record
Retrieve a specific record by its Salesforce ID. Use the fields query parameter to limit which fields are returned.
- sObjectName path required
- API name of the Salesforce object
- string
- id path required
- Salesforce record ID (15 or 18 character ID)
- string
- fields query
- Comma-separated list of fields to return
- string
Try it
Authentication
Configure credentials for Salesforce REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import salesforce from '@utdk/salesforce';
await salesforce.getrecord()