Skip to main content
Every salesforce.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Accounts

accountCreationWithContentTypeOption

accounts.accountCreationWithContentTypeOption Create account (deprecated) Risk: write
Input Output

createAccount

accounts.createAccount Create account in Salesforce Risk: write
Input
Output

deleteAccount

accounts.deleteAccount Delete account Risk: destructive · Irreversible
Input Output

fetchAccountByIdWithQuery

accounts.fetchAccountByIdWithQuery Fetch account by ID with query (deprecated) Risk: read
Input Output

getAccount

accounts.getAccount Get account by ID Risk: read
Input Output

listAccounts

accounts.listAccounts List accounts Risk: read
Input Output

removeAccountByUniqueIdentifier

accounts.removeAccountByUniqueIdentifier Remove account by unique identifier (deprecated) Risk: destructive · Irreversible
Input Output

retrieveAccountDataAndErrorResponses

accounts.retrieveAccountDataAndErrorResponses Retrieve account data and error responses (deprecated) Risk: read
Input Output

searchAccounts

accounts.searchAccounts Search accounts Risk: read
Input Output

updateAccount

accounts.updateAccount Update account Risk: write
Input
Output

updateAccountObjectById

accounts.updateAccountObjectById Update account by id (deprecated) Risk: write
Input
Output

Analytics Reports

getDashboard

analyticsReports.getDashboard Get dashboard metadata Risk: read
Input Output: object

getReport

analyticsReports.getReport Get report metadata (deprecated) Risk: read
Input Output: object

getReportInstance

analyticsReports.getReportInstance Get report instance results (deprecated) Risk: read
Input Output: object

listAnalyticsTemplates

analyticsReports.listAnalyticsTemplates List CRM Analytics templates Risk: read
Input: empty object Output

listDashboards

analyticsReports.listDashboards List all dashboards Risk: read
Input: empty object Output

listEmailTemplates

analyticsReports.listEmailTemplates List email templates Risk: read
Input Output

listReports

analyticsReports.listReports List all reports Risk: read
Input: empty object Output

queryReport

analyticsReports.queryReport Query report (deprecated) Risk: read
Input Output: object

runReport

analyticsReports.runReport Run report and return results Risk: read
Input Output: object

Campaigns

addContactToCampaign

campaigns.addContactToCampaign Add contact to campaign Risk: write
Input Output

addLeadToCampaign

campaigns.addLeadToCampaign Add lead to campaign Risk: write
Input Output

createCampaign

campaigns.createCampaign Create campaign Risk: write
Input Output

createCampaignRecordViaPost

campaigns.createCampaignRecordViaPost Create campaign record via POST (deprecated) Risk: write
Input Output

deleteCampaign

campaigns.deleteCampaign Delete campaign Risk: destructive · Irreversible
Input Output

getCampaign

campaigns.getCampaign Get campaign by ID Risk: read
Input Output

listCampaigns

campaigns.listCampaigns List campaigns Risk: read
Input Output

removeCampaignObjectById

campaigns.removeCampaignObjectById Remove campaign object by ID (deprecated) Risk: destructive · Irreversible
Input Output

removeFromCampaign

campaigns.removeFromCampaign Remove member from campaign Risk: destructive · Irreversible
Input Output

retrieveCampaignDataWithErrorHandling

campaigns.retrieveCampaignDataWithErrorHandling Retrieve campaign data (deprecated) Risk: read
Input Output

retrieveSpecificCampaignObjectDetails

campaigns.retrieveSpecificCampaignObjectDetails Retrieve specific campaign details (deprecated) Risk: read
Input Output

searchCampaigns

campaigns.searchCampaigns Search campaigns Risk: read
Input Output

updateCampaign

campaigns.updateCampaign Update campaign Risk: write
Input Output

updateCampaignByIdWithJson

campaigns.updateCampaignByIdWithJson Update campaign by id (deprecated) Risk: write
Input Output

Composite

compositeGraphAction

composite.compositeGraphAction Execute composite graph (deprecated) Risk: write
Input
Output

createSobjectTree

composite.createSobjectTree Create sObject tree Risk: write
Input
Output

deleteSobjectCollections

composite.deleteSobjectCollections Delete sObject collections Risk: destructive · Irreversible
Input Output: object[]

getABatchOfRecords

composite.getABatchOfRecords Get batch of UI API records Risk: read
Input Output

getCompositeResources

composite.getCompositeResources Get composite resources Risk: read
Input: empty object Output: object

getCompositeSobjects

composite.getCompositeSobjects Get composite sObjects Risk: read
Input Output: object[]

getSobjectCollections

composite.getSobjectCollections Get sObject collections Risk: read
Input Output: object[]

patchCompositeSobjects

composite.patchCompositeSobjects Upsert records using external ID Risk: write
Input
Output

postCompositeGraph

composite.postCompositeGraph Execute composite graph Risk: write
Input
Output

postCompositeSobjects

composite.postCompositeSobjects Create records using sObject Collections Risk: write
Input
Output: object[]

Contacts

associateContactToAccount

contacts.associateContactToAccount Associate contact to account Risk: write
Input Output

createContact

contacts.createContact Create contact Risk: write
Input
Output

createNewContactWithJsonHeader

contacts.createNewContactWithJsonHeader Create new contact with JSON header (deprecated) Risk: write
Input Output

deleteContact

contacts.deleteContact Delete contact Risk: destructive · Irreversible
Input Output

getContact

contacts.getContact Get contact by ID Risk: read
Input Output

getContactById

contacts.getContactById Get contact by ID Risk: read
Input Output

listContacts

contacts.listContacts List contacts Risk: read
Input Output

queryContactsByName

contacts.queryContactsByName Query contacts by name (deprecated) Risk: read
Input Output

removeASpecificContactById

contacts.removeASpecificContactById Remove contact by ID (deprecated) Risk: destructive · Irreversible
Input Output

retrieveContactInfoWithStandardResponses

contacts.retrieveContactInfoWithStandardResponses Retrieve contact info (deprecated) Risk: read
Input Output

searchContacts

contacts.searchContacts Search contacts Risk: read
Input Output

updateContact

contacts.updateContact Update contact Risk: write
Input
Output

updateContactById

contacts.updateContactById Update contact by id (deprecated) Risk: write
Input
Output

Files

deleteFile

files.deleteFile Delete file permanently Risk: destructive · Irreversible
Input Output

getFileContent

files.getFileContent Get binary file content Risk: read
Input Output

getFileInformation

files.getFileInformation Get file metadata information Risk: read
Input Output: object

getFileShares

files.getFileShares Get file shares information Risk: read
Input Output

uploadFile

files.uploadFile Upload a file to Salesforce Files Risk: write
Input Output

Jobs

closeOrAbortJob

jobs.closeOrAbortJob Close or abort bulk job Risk: write
Input Output

deleteJobQuery

jobs.deleteJobQuery Delete query job Risk: destructive · Irreversible
Input Output

getJobFailedRecordResults

jobs.getJobFailedRecordResults Get job failed record results Risk: read
Input Output

getJobSuccessfulRecordResults

jobs.getJobSuccessfulRecordResults Get job successful record results Risk: read
Input Output

getJobUnprocessedRecordResults

jobs.getJobUnprocessedRecordResults Get job unprocessed record results Risk: read
Input Output

getQueryJobInfo

jobs.getQueryJobInfo Get query job info Risk: read
Input Output

getQueryJobResults

jobs.getQueryJobResults Get query job results Risk: read
Input Output

uploadJobData

jobs.uploadJobData Upload CSV data to a bulk ingest job Risk: write
Input Output

Leads

applyLeadAssignmentRules

leads.applyLeadAssignmentRules Apply lead assignment rules Risk: write
Input Output

createLead

leads.createLead Create lead Risk: write
Input
Output

createLeadWithSpecifiedContentType

leads.createLeadWithSpecifiedContentType Create lead with content type (deprecated) Risk: write
Input Output

deleteALeadObjectByItsId

leads.deleteALeadObjectByItsId Delete lead object by ID (deprecated) Risk: destructive · Irreversible
Input Output

deleteLead

leads.deleteLead Delete lead Risk: destructive · Irreversible
Input Output

getLead

leads.getLead Get lead by ID Risk: read
Input Output

listLeads

leads.listLeads List leads Risk: read
Input Output

retrieveLeadById

leads.retrieveLeadById Retrieve lead by ID Risk: read
Input Output

retrieveLeadDataWithVariousResponses

leads.retrieveLeadDataWithVariousResponses Retrieve lead data (deprecated) Risk: read
Input Output

searchLeads

leads.searchLeads Search leads Risk: read
Input Output

updateLead

leads.updateLead Update lead Risk: write
Input
Output

updateLeadByIdWithJsonPayload

leads.updateLeadByIdWithJsonPayload Update lead by id (deprecated) Risk: write
Input
Output

Metadata

cloneRecord

metadata.cloneRecord Clone record Risk: write
Input
Output

createCustomField

metadata.createCustomField Create custom field via Tooling API Risk: write
Input Output

createCustomObject

metadata.createCustomObject Create custom object via Metadata API Risk: write
Input Output

createSObjectRecord

metadata.createSObjectRecord Create sObject record Risk: write
Input
Output

deleteSobject

metadata.deleteSobject Delete sObject record Risk: destructive · Irreversible
Input Output

deleteSobjectRows

metadata.deleteSobjectRows Delete sObject rows Risk: destructive · Irreversible
Input Output

executeSobjectQuickAction

metadata.executeSobjectQuickAction Execute sObject quick action Risk: write
Input
Output

getAllCustomObjects

metadata.getAllCustomObjects Get all custom objects Risk: read
Input: empty object Output

getAllFieldsForObject

metadata.getAllFieldsForObject Get all fields for object Risk: read
Input Output

getApi

metadata.getApi Get API resources by version Risk: read
Input Output: object

getChatterResources

metadata.getChatterResources Get Chatter resources Risk: read
Input: empty object Output: object

getChildRecords

metadata.getChildRecords Get child records Risk: read
Input Output

getConsentAction

metadata.getConsentAction Get consent action preferences Risk: read
Input Output: object

getGlobalActions

metadata.getGlobalActions Get global actions Risk: read
Input: empty object Output

getOrgLimits

metadata.getOrgLimits Get org limits Risk: read
Input: empty object Output: object

getPicklistValuesByRecordType

metadata.getPicklistValuesByRecordType Get picklist values by record type Risk: read
Input Output: object

getQuickActions

metadata.getQuickActions Get quick actions Risk: read
Input: empty object Output

getRecordCounts

metadata.getRecordCounts Get record counts Risk: read
Input Output

getSobjectApprovalLayouts

metadata.getSobjectApprovalLayouts Get approval layouts for sObject Risk: read
Input Output: object

getSobjectByExternalId

metadata.getSobjectByExternalId Get sObject by external ID Risk: read
Input Output: object

getSobjectPlatformaction

metadata.getSobjectPlatformaction Get PlatformAction metadata Risk: read
Input: empty object Output: object

getSobjectQuickActionDefaultValues

metadata.getSobjectQuickActionDefaultValues Get quick action default values Risk: read
Input Output: object

getSObjectQuickActionDefaultValues

metadata.getSObjectQuickActionDefaultValues Get quick action default values Risk: read
Input Output: object

getSObjectRecord

metadata.getSObjectRecord Get sObject record by ID Risk: read
Input Output: object

getSobjectRelationship

metadata.getSobjectRelationship Get sObject relationship Risk: read
Input Output: object

getSobjects

metadata.getSobjects Describe global sObjects Risk: read
Input: empty object Output

getSObjectsDescribeLayoutsRecordTypeId

metadata.getSObjectsDescribeLayoutsRecordTypeId Get layouts for object with record type Risk: read
Input Output: object

getSobjectsSobjectDescribeApprovallayouts

metadata.getSobjectsSobjectDescribeApprovallayouts Get approval layouts for object Risk: read
Input Output: object

getSObjectsUpdated

metadata.getSObjectsUpdated Get updated sObject records Risk: read
Input Output

getSupport

metadata.getSupport Get support knowledge root Risk: read
Input: empty object Output: object

getSupportedObjectsDirectory

metadata.getSupportedObjectsDirectory Get supported objects directory Risk: read
Input: empty object Output: object

getSupportKnowledgeArticles

metadata.getSupportKnowledgeArticles Get support knowledge articles Risk: read
Input: empty object Output: object

getTheme

metadata.getTheme Get theme metadata Risk: read
Input: empty object Output: object

getUserInfo

metadata.getUserInfo Get user info Risk: read
Input Output: object

headActionsCustom

metadata.headActionsCustom Head custom actions Risk: read
Input: empty object Output

headActionsStandard

metadata.headActionsStandard Head standard actions Risk: read
Input: empty object Output

headProcessRulesSObject

metadata.headProcessRulesSObject Head process rules for sObject Risk: read
Input Output

headQuickActions

metadata.headQuickActions Head Quick Actions Risk: read
Input: empty object Output

headSobjectQuickActionDefaultValues

metadata.headSobjectQuickActionDefaultValues Head quick action default values Risk: read
Input Output

headSobjectsGlobalDescribeLayouts

metadata.headSobjectsGlobalDescribeLayouts Head global describe layouts Risk: read
Input: empty object Output

headSobjectsQuickAction

metadata.headSobjectsQuickAction Head sObject quick action Risk: read
Input Output

headSobjectsUserPassword

metadata.headSobjectsUserPassword Head user password status Risk: read
Input Output

listCustomInvocableActions

metadata.listCustomInvocableActions List custom invocable actions Risk: read
Input: empty object Output

listStandardInvocableActions

metadata.listStandardInvocableActions List standard invocable actions Risk: read
Input: empty object Output

massTransferOwnership

metadata.massTransferOwnership Mass transfer record ownership Risk: write
Input Output

setUserPassword

metadata.setUserPassword Set user password Risk: write
Input Output

sobjectRowsUpdate

metadata.sobjectRowsUpdate Update sObject rows Risk: write
Input
Output

sobjectUserPassword

metadata.sobjectUserPassword Check user password expiration status Risk: read
Input Output

updateSobject

metadata.updateSobject Update sObject fields Risk: write
Input
Output

upsertSobjectByExternalId

metadata.upsertSobjectByExternalId Upsert sObject by external ID Risk: write
Input
Output

Notes

createNote

notes.createNote Create note Risk: write
Input Output

createNoteRecordWithContentTypeHeader

notes.createNoteRecordWithContentTypeHeader Create note record (deprecated) Risk: write
Input Output

deleteNote

notes.deleteNote Delete note Risk: destructive · Irreversible
Input Output

getNote

notes.getNote Get note by ID Risk: read
Input Output

getNoteByIdWithFields

notes.getNoteByIdWithFields Get note by ID with fields (deprecated) Risk: read
Input Output

listNotes

notes.listNotes List notes Risk: read
Input Output

removeNoteObjectById

notes.removeNoteObjectById Remove note object by ID (deprecated) Risk: destructive · Irreversible
Input Output

retrieveNoteObjectInformation

notes.retrieveNoteObjectInformation Retrieve note object info (deprecated) Risk: read
Input Output

searchNotes

notes.searchNotes Search notes Risk: read
Input Output

updateNote

notes.updateNote Update note Risk: write
Input Output

updateSpecificNoteById

notes.updateSpecificNoteById Update note by id (deprecated) Risk: write
Input Output

Opportunities

addOpportunityLineItem

opportunities.addOpportunityLineItem Add line item to opportunity Risk: write
Input Output

cloneOpportunityWithProducts

opportunities.cloneOpportunityWithProducts Clone opportunity with products Risk: write
Input Output

createOpportunity

opportunities.createOpportunity Create opportunity Risk: write
Input
Output

createOpportunityRecord

opportunities.createOpportunityRecord Create opportunity record (deprecated) Risk: write
Input Output

deleteOpportunity

opportunities.deleteOpportunity Delete opportunity Risk: destructive · Irreversible
Input Output

getOpportunity

opportunities.getOpportunity Get opportunity by ID Risk: read
Input Output

listOpportunities

opportunities.listOpportunities List opportunities Risk: read
Input Output

listPricebookEntries

opportunities.listPricebookEntries List pricebook entries Risk: read
Input Output

listPricebooks

opportunities.listPricebooks List pricebooks Risk: read
Input Output

removeOpportunityById

opportunities.removeOpportunityById Remove opportunity by ID (deprecated) Risk: destructive · Irreversible
Input Output

retrieveOpportunitiesData

opportunities.retrieveOpportunitiesData Retrieve opportunities data Risk: read
Input Output

retrieveOpportunityByIdWithOptionalFields

opportunities.retrieveOpportunityByIdWithOptionalFields Retrieve opportunity by ID with fields (deprecated) Risk: read
Input Output

searchOpportunities

opportunities.searchOpportunities Search opportunities Risk: read
Input Output

updateOpportunity

opportunities.updateOpportunity Update opportunity Risk: write
Input
Output

updateOpportunityById

opportunities.updateOpportunityById Update opportunity by id (deprecated) Risk: write
Input
Output

Soql Sosl

executeSoqlQuery

soqlSosl.executeSoqlQuery Execute SOQL query (deprecated) Risk: read
Input Output

executeSoslSearch

soqlSosl.executeSoslSearch Execute SOSL search Risk: read
Input Output

getParameterizedSearch

soqlSosl.getParameterizedSearch Parameterized search via GET Risk: read
Input
Output

getSearchLayout

soqlSosl.getSearchLayout Get search layout Risk: read
Input Output: object[]

getSearchSuggestions

soqlSosl.getSearchSuggestions Get search suggestions Risk: read
Input Output

parameterizedSearch

soqlSosl.parameterizedSearch Run parameterized search Risk: read
Input
Output

postParameterizedSearch

soqlSosl.postParameterizedSearch Post parameterized search Risk: read
Input Output

query

soqlSosl.query Execute SOQL query (deprecated) Risk: read
Input Output

queryAll

soqlSosl.queryAll Run queryAll including deleted records Risk: read
Input Output

runSoqlQuery

soqlSosl.runSoqlQuery Run SOQL query Risk: read
Input Output

soqlSosl.search Run SOSL search Risk: read
Input Output

searchKnowledgeArticles

soqlSosl.searchKnowledgeArticles Search knowledge articles Risk: read
Input Output

toolingQuery

soqlSosl.toolingQuery Run Tooling API SOQL query Risk: read
Input Output

Tasks

completeTask

tasks.completeTask Complete task Risk: write
Input Output

createTask

tasks.createTask Create task Risk: write
Input Output

logCall

tasks.logCall Log phone call activity Risk: write
Input Output

logEmailActivity

tasks.logEmailActivity Log email activity Risk: write
Input Output

searchTasks

tasks.searchTasks Search tasks Risk: read
Input Output

sendEmail

tasks.sendEmail Send email Risk: write
Input Output

sendEmailFromTemplate

tasks.sendEmailFromTemplate Send email from template Risk: write
Input Output

sendMassEmail

tasks.sendMassEmail Send mass email Risk: write
Input Output

updateTask

tasks.updateTask Update task Risk: write
Input Output

Ui Api

createARecord

uiApi.createARecord Create record via UI API Risk: write
Input
Output

createRecordUiApi

uiApi.createRecordUiApi Create record using UI API Risk: write
Input
Output

getAllNavigationItems

uiApi.getAllNavigationItems Get all navigation items Risk: read
Input: empty object Output: object

getApp

uiApi.getApp Get app metadata Risk: read
Input Output: object

getApps

uiApi.getApps Get apps metadata Risk: read
Input: empty object Output: object

getCompactLayouts

uiApi.getCompactLayouts Get compact layouts Risk: read
Input Output: object

getLastSelectedApp

uiApi.getLastSelectedApp Get last selected app Risk: read
Input: empty object Output: object

getListViewActions

uiApi.getListViewActions Get list view actions Risk: read
Input Output: object

getListViewMetadataBatch

uiApi.getListViewMetadataBatch Get batch list view metadata Risk: read
Input Output: object

getListViewMetadataByName

uiApi.getListViewMetadataByName Get list view metadata by API name Risk: read
Input Output: object

getListViewRecordsById

uiApi.getListViewRecordsById Get list view records by ID Risk: read
Input Output: object

getListViewRecordsByName

uiApi.getListViewRecordsByName Get list view records by API name Risk: read
Input Output: object

getListViewResults

uiApi.getListViewResults Get list view results by sObject Risk: read
Input Output: object

getLookupFieldSuggestions

uiApi.getLookupFieldSuggestions Get lookup field suggestions Risk: read
Input Output: object

getLookupSuggestionsCaseContact

uiApi.getLookupSuggestionsCaseContact Get lookup field suggestions for Case ContactId with POST Risk: read
Input Output: object

getLookupSuggestionsOpportunityAccount

uiApi.getLookupSuggestionsOpportunityAccount Get lookup field suggestions for Opportunity AccountId with POST Risk: read
Input Output: object

getMruListViewMetadata

uiApi.getMruListViewMetadata Get MRU list view metadata Risk: read
Input Output: object

getMruListViewRecords

uiApi.getMruListViewRecords Get MRU list view records Risk: read
Input Output: object

getObjectListViews

uiApi.getObjectListViews Get list views for an object Risk: read
Input Output: object

getPhotoActions

uiApi.getPhotoActions Get photo actions Risk: read
Input Output: object

getRecordEditPageActions

uiApi.getRecordEditPageActions Get record edit page actions Risk: read
Input Output: object

getRecordUiDataAndMetadata

uiApi.getRecordUiDataAndMetadata Get record UI data and metadata Risk: read
Input Output: object

getRelatedListActions

uiApi.getRelatedListActions Get related list actions Risk: read
Input Output: object

getRelatedListPreferencesBatch

uiApi.getRelatedListPreferencesBatch Get batch related list user preferences Risk: read
Input Output: object

getRelatedListRecordsContacts

uiApi.getRelatedListRecordsContacts Get related list records for Contacts Risk: read
Input Output: object

getSobjectListView

uiApi.getSobjectListView Get sObject list view information Risk: read
Input Output: object

getSobjectListViews

uiApi.getSobjectListViews Get list views for sObject Risk: read
Input Output: object

getUiApiActionsLookupAccount

uiApi.getUiApiActionsLookupAccount Get lookup field actions for Account Risk: read
Input: empty object Output: object

getUiapiActionsMruListAccount

uiApi.getUiapiActionsMruListAccount Get MRU list view actions Risk: read
Input: empty object Output: object

getUiApiActionsRecordRelatedList

uiApi.getUiApiActionsRecordRelatedList Get record related list actions Risk: read
Input Output: object

getUiApiAppsUserNavItems

uiApi.getUiApiAppsUserNavItems Get user navigation items Risk: read
Input Output: object

getUiapiListInfoAccountAllAccounts

uiApi.getUiapiListInfoAccountAllAccounts Get Account AllAccounts list view metadata Risk: read
Input: empty object Output: object

getUiapiListInfoAccountRecent

uiApi.getUiapiListInfoAccountRecent Get Account Recent list view metadata Risk: read
Input: empty object Output: object

getUiapiListInfoAccountSearchResult

uiApi.getUiapiListInfoAccountSearchResult Get Account SearchResult list view metadata Risk: read
Input: empty object Output: object

getUiApiListInfoRecent

uiApi.getUiApiListInfoRecent Get Recent list view metadata for object Risk: read
Input Output: object

getUiapiLookupsOpportunityAccountId

uiApi.getUiapiLookupsOpportunityAccountId Get lookup field suggestions for Opportunity AccountId Risk: read
Input: empty object Output: object

getUiapimruListInfoAccount

uiApi.getUiapimruListInfoAccount Get MRU list info for Account (deprecated) Risk: read
Input: empty object Output: object

getUiApiMruListRecordsAccount

uiApi.getUiApiMruListRecordsAccount Get MRU list records for Account (deprecated) Risk: read
Input: empty object Output: object

getUiapiRelatedListPreferences

uiApi.getUiapiRelatedListPreferences Get related list user preferences Risk: read
Input Output: object

headAppmenuSalesforce1

uiApi.headAppmenuSalesforce1 Head AppMenu Salesforce1 Risk: read
Input: empty object Output

listViewResults

uiApi.listViewResults Get list view results Risk: read
Input Output: object

updateFavorite

uiApi.updateFavorite Update a favorite Risk: write
Input
Output

updateListViewPreferences

uiApi.updateListViewPreferences Update list view preferences Risk: write
Input
Output

updateRecord

uiApi.updateRecord Update a record via UI API Risk: write
Input
Output

updateRelatedListPreferences

uiApi.updateRelatedListPreferences Update related list preferences Risk: write
Input
Output