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.

getrecord
GET/sobjects/{sObjectName}/{id}
Retrieve a specific record by its Salesforce ID. Use the fields query parameter to limit which fields are returned.

Parameters

required

API name of the Salesforce object

required

Salesforce record ID (15 or 18 character ID)

Comma-separated list of fields to return

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import salesforce from '@utdk/salesforce';

await salesforce.getrecord()