Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Salesforce Create API
description: 'Find the resources you need to start building. '
contact: {}
version: '1.0'
servers:
- url: https://login.salesforce.com
variables: {}
- url: https://id
variables: {}
- url: https://services
variables: {}
- url: '{{url}}{{site}}/services/oauth2'
variables:
url:
default: DefaultParameterValue
site:
default: DefaultParameterValue
security:
- oauth2:
- api
tags:
- name: Create
paths:
/data/v64.0/jobs/query:
parameters: []
post:
tags:
- Create
summary: Salesforce Successful Create Job Query
operationId: SuccessfulCreatejobQuery
parameters: []
requestBody:
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/SuccessfulCreatejobQueryRequest'
- examples:
- operation: query
query: SELECT fields FROM object WHERE filter
contentType: CSV
columnDelimiter: BACKQUOTE | CARET | COMMA | PIPE | SEMICOLON | TAB
lineEnding: CRLF | LF
contentMediaType: application/json
example:
operation: query
query: SELECT fields FROM object WHERE filter
contentType: CSV
columnDelimiter: BACKQUOTE | CARET | COMMA | PIPE | SEMICOLON | TAB
lineEnding: CRLF | LF
required: true
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 20 Nov 2023 15:06:06 GMT
Strict-Transport-Security:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: max-age=63072000; includeSubDomains
X-Content-Type-Options:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: nosniff
X-XSS-Protection:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: 1; mode=block
X-Robots-Tag:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: none
Cache-Control:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: no-cache,must-revalidate,max-age=0,no-store,private
Sforce-Limit-Info:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: api-usage=18/15000
Vary:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Accept-Encoding
Content-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: gzip
Transfer-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: chunked
content:
application/json;charset=UTF-8:
schema:
allOf:
- $ref: '#/components/schemas/SuccessfulCreatejobQuery'
- examples:
- id: 750...
operation: query
object: Account
createdById: 005...
createdDate: <datetime>
systemModstamp: <datetime>
state: UploadComplete
concurrencyMode: Parallel
contentType: CSV
apiVersion: 58
lineEnding: LF
columnDelimiter: COMMA
contentMediaType: application/json;charset=UTF-8
example:
id: 750...
operation: query
object: Account
createdById: 005...
createdDate: <datetime>
systemModstamp: <datetime>
state: UploadComplete
concurrencyMode: Parallel
contentType: CSV
apiVersion: 58
lineEnding: LF
columnDelimiter: COMMA
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/data/v64.0/jobs/ingest:
parameters: []
post:
tags:
- Create
summary: Salesforce Create Job
operationId: Createjob
parameters: []
requestBody:
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/CreatejobRequest'
- examples:
- object: Asset
operation: update
contentMediaType: application/json
example:
object: Asset
operation: update
required: true
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 20 Nov 2023 14:58:56 GMT
Strict-Transport-Security:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: max-age=63072000; includeSubDomains
X-Content-Type-Options:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: nosniff
X-XSS-Protection:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: 1; mode=block
X-Robots-Tag:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: none
Cache-Control:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: no-cache,must-revalidate,max-age=0,no-store,private
Sforce-Limit-Info:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: api-usage=1/15000
Vary:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Accept-Encoding
Content-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: gzip
Transfer-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: chunked
content:
application/json;charset=UTF-8:
schema:
allOf:
- $ref: '#/components/schemas/SuccessfulCreatejob'
- examples:
- id: 750...
operation: insert
object: Account
createdById: 005...
createdDate: <datetime>
systemModstamp: <datetime>
state: Open
concurrencyMode: Parallel
contentType: CSV
apiVersion: 58
contentUrl: services/data/v58.0/jobs/ingest/750.../batches
lineEnding: LF
columnDelimiter: COMMA
contentMediaType: application/json;charset=UTF-8
example:
id: 750...
operation: insert
object: Account
createdById: 005...
createdDate: <datetime>
systemModstamp: <datetime>
state: Open
concurrencyMode: Parallel
contentType: CSV
apiVersion: 58
contentUrl: services/data/v58.0/jobs/ingest/750.../batches
lineEnding: LF
columnDelimiter: COMMA
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/data/v64.0/named-credentials/credential:
parameters: []
post:
tags:
- Create
summary: Salesforce Create Credential
description: Create a credential.
operationId: CreateCredential
parameters: []
requestBody:
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/CreateCredentialRequest'
- examples:
- authenticationProtocol: Custom
credentials: {}
externalCredential: SampleExternalCredential
principalName: SamplePrincipal
principalType: NamedPrincipal
contentMediaType: application/json
example:
authenticationProtocol: Custom
credentials: {}
externalCredential: SampleExternalCredential
principalName: SamplePrincipal
principalType: NamedPrincipal
required: true
responses:
'201':
description: Created
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Wed, 22 Nov 2023 12:06:08 GMT
Strict-Transport-Security:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: max-age=63072000; includeSubDomains
X-Content-Type-Options:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: nosniff
X-XSS-Protection:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: 1; mode=block
X-Robots-Tag:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: none
Cache-Control:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: no-cache,must-revalidate,max-age=0,no-store,private
Vary:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Accept-Encoding
Content-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: gzip
Transfer-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: chunked
content:
application/json;charset=UTF-8:
schema:
allOf:
- $ref: '#/components/schemas/successfulCreateCredential'
- examples:
- authenticationProtocol: Custom
authenticationStatus: Unknown
credentials: {}
externalCredential: SampleExternalCredential
principalName: SamplePrincipal
principalType: NamedPrincipal
contentMediaType: application/json;charset=UTF-8
example:
authenticationProtocol: Custom
authenticationStatus: Unknown
credentials: {}
externalCredential: SampleExternalCredential
principalName: SamplePrincipal
principalType: NamedPrincipal
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/data/v64.0/named-credentials/external-credentials:
parameters: []
post:
tags:
- Create
summary: Salesforce Create External Credential
description: Create an external credential.
operationId: CreateExternalCredential
parameters: []
requestBody:
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/CreateExternalCredentialRequest'
- examples:
- developerName: SampleExternalCredential
masterLabel: Sample External Credential
authenticationProtocol: Custom
principals:
- principalName: SamplePrincipal
principalType: NamedPrincipal
sequenceNumber: 1
customHeaders:
- headerName: SampleHeader
headerValue: SampleHeaderValue
sequenceNumber: 1
contentMediaType: application/json
example:
developerName: SampleExternalCredential
masterLabel: Sample External Credential
authenticationProtocol: Custom
principals:
- principalName: SamplePrincipal
principalType: NamedPrincipal
sequenceNumber: 1
customHeaders:
- headerName: SampleHeader
headerValue: SampleHeaderValue
sequenceNumber: 1
required: true
responses:
'201':
description: Created
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 20 Nov 2023 16:53:51 GMT
Strict-Transport-Security:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: max-age=63072000; includeSubDomains
X-Content-Type-Options:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: nosniff
X-XSS-Protection:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: 1; mode=block
X-Robots-Tag:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: none
Cache-Control:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: no-cache,must-revalidate,max-age=0,no-store,private
Vary:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Accept-Encoding
Content-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: gzip
Transfer-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: chunked
content:
application/json;charset=UTF-8:
schema:
allOf:
- $ref: '#/components/schemas/SuccessfulCreateExternalCredential'
- examples:
- authenticationProtocol: Custom
authenticationStatus: Unknown
customHeaders:
- headerName: SampleHeader
headerValue: SampleHeaderValue
id: 0pu2o000000KymkAAC
sequenceNumber: 1
developerName: SampleExternalCredential
id: 0pt2o000000CaU0AAK
masterLabel: Sample External Credential
parameters: []
principals:
- authenticationStatus: Unknown
id: 0pu2o000000KymjAAC
parameters: []
principalAccess: []
principalName: SamplePrincipal
principalType: NamedPrincipal
sequenceNumber: 1
relatedNamedCredentials: []
url: /services/data/v58.0/named-credentials/external-credentials/SampleExternalCredential
contentMediaType: application/json;charset=UTF-8
example:
authenticationProtocol: Custom
authenticationStatus: Unknown
customHeaders:
- headerName: SampleHeader
headerValue: SampleHeaderValue
id: 0pu2o000000KymkAAC
sequenceNumber: 1
developerName: SampleExternalCredential
id: 0pt2o000000CaU0AAK
masterLabel: Sample External Credential
parameters: []
principals:
- authenticationStatus: Unknown
id: 0pu2o000000KymjAAC
parameters: []
principalAccess: []
principalName: SamplePrincipal
principalType: NamedPrincipal
sequenceNumber: 1
relatedNamedCredentials: []
url: /services/data/v58.0/named-credentials/external-credentials/SampleExternalCredential
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/data/v64.0/named-credentials/named-credential-setup:
parameters: []
post:
tags:
- Create
summary: Salesforce Create Named Credential
description: Create a named credential.
operationId: CreateNamedCredential
parameters: []
requestBody:
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/CreateNamedCredentialRequest'
- examples:
- developerName: SamplePrivate
masterLabel: SamplePrivateLabel
type: SecuredEndpoint
calloutUrl: https://api.example.com
externalCredentials:
- developerName: SampleExternalCredential
customHeaders:
- headerName: SampleHeader
headerValue: SampleValue
sequenceNumber: 1
calloutOptions:
allowMergeFieldsInBody: false
allowMergeFieldsInHeader: true
generateAuthorizationHeader: true
contentMediaType: application/json
example:
developerName: SamplePrivate
masterLabel: SamplePrivateLabel
type: SecuredEndpoint
calloutUrl: https://api.example.com
externalCredentials:
- developerName: SampleExternalCredential
customHeaders:
- headerName: SampleHeader
headerValue: SampleValue
sequenceNumber: 1
calloutOptions:
allowMergeFieldsInBody: false
allowMergeFieldsInHeader: true
generateAuthorizationHeader: true
required: true
responses:
'201':
description: Created
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 20 Nov 2023 16:54:12 GMT
Strict-Transport-Security:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: max-age=63072000; includeSubDomains
X-Content-Type-Options:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: nosniff
X-XSS-Protection:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: 1; mode=block
X-Robots-Tag:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: none
Cache-Control:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: no-cache,must-revalidate,max-age=0,no-store,private
Vary:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Accept-Encoding
Content-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: gzip
Transfer-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: chunked
content:
application/json;charset=UTF-8:
schema:
allOf:
- $ref: '#/components/schemas/SuccessfulCreateNamedCredential'
- examples:
- calloutOptions:
allowMergeFieldsInBody: false
allowMergeFieldsInHeader: true
generateAuthorizationHeader: true
calloutUrl: https://api.example.com
customHeaders:
- headerName: SampleHeader
headerValue: SampleValue
id: 0pv2o000000PAv6AAG
sequenceNumber: 1
developerName: SamplePrivate
externalCredentials:
- developerName: SampleExternalCredential
id: 0pt2o000000CaU0AAK
masterLabel: Sample External Credential
url: /services/data/v58.0/named-credentials/external-credentials/SampleExternalCredential
id: 0XA2o000000XaAQGA0
masterLabel: SamplePrivateLabel
parameters: []
type: SecuredEndpoint
url: /services/data/v58.0/named-credentials/named-credential-setup/SamplePrivate
contentMediaType: application/json;charset=UTF-8
example:
calloutOptions:
allowMergeFieldsInBody: false
allowMergeFieldsInHeader: true
generateAuthorizationHeader: true
calloutUrl: https://api.example.com
customHeaders:
- headerName: SampleHeader
headerValue: SampleValue
id: 0pv2o000000PAv6AAG
sequenceNumber: 1
developerName: SamplePrivate
externalCredentials:
- developerName: SampleExternalCredential
id: 0pt2o000000CaU0AAK
masterLabel: Sample External Credential
url: /services/data/v58.0/named-credentials/external-credentials/SampleExternalCredential
id: 0XA2o000000XaAQGA0
masterLabel: SamplePrivateLabel
parameters: []
type: SecuredEndpoint
url: /services/data/v58.0/named-credentials/named-credential-setup/SamplePrivate
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/data/v64.0/tooling/sobjects/NamedCredential:
parameters: []
post:
tags:
- Create
summary: Salesforce Create Named Credential1
operationId: Createnamedcredential1
parameters: []
requestBody:
description: ''
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/CreatenamedcredentialRequest1'
- examples:
- FullName: MyNamedCredential
Metadata:
label: My Named Credential
endpoint: arn:aws:AWS_REGION:AWS_ACCOUNT_ID
principalType: Anonymous
protocol: NoAuthentication
contentMediaType: application/json
example:
FullName: MyNamedCredential
Metadata:
label: My Named Credential
endpoint: arn:aws:AWS_REGION:AWS_ACCOUNT_ID
principalType: Anonymous
protocol: NoAuthentication
required: true
responses:
'200':
description: ''
headers: {}
deprecated: false
servers:
- url: https://services
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/data/v64.0/connect/business-rules/decision-table/definitions:
parameters: []
post:
tags:
- Create
summary: Salesforce Create Table
description: "# Decision Table Definitions (POST)\n\nCreate a decision table definition. A decision table definition contains all the details required to create a decision table.Resource\n\n```\n/connect/business-rules/decision-table/definitions\n\n ```\n\nResource Example\n\n```\nhttps://yourInstance.salesforce.com/services/data/v59.0/connect/business-rules/decision-table/definitions\n\n ```\n\nAvailable version\n\n58.0\n\nRequires Chatter\n\nNo\n\nHTTP methods\n\nPOST\n\nJSON example for a single object source\n\n```\n{\n \"setupName\":\"Product Qualificiation eligibility\",\n \"fullName\":\"ProductQualificationEligibility\",\n \"description\":\"Eligiblity of Products using Qualification Rules\",\n \"usageType\":\"ProductEligibility\",\n \"sourceType\":\"SingleSobject\",\n \"sourceObject\":\"AccountFeed\",\n \"status\":\"Draft\",\n \"decisionResultPolicy\":\"UniqueValues\",\n \"collectOperator\":\"Count\",\n \"conditionType\":\"Any\",\n \"conditionCriteria\":\"1 OR 2 OR 3\",\n \"parameters\":[\n {\n \"fieldName\":\"IsDeleted\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"1\"\n },\n {\n \"fieldName\":\"Id\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"2\"\n },\n {\n \"fieldName\":\"Title\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"3\"\n },\n {\n \"fieldName\":\"CreatedById\",\n \"usage\":\"OUTPUT\"\n }\n ]\n}\n\n ```\n\nJSON example for a multi-object source\n\n```\n{\n \"setupName\":\"Jumbo Pricing Definition\",\n \"fullName\":\"JumboPricingDefinition\",\n \"description\":\"Join all the DT definitions into one jumbo pricing definition\",\n \"usageType\":\"ProductEligibility\",\n \"type\":\"LowVolume\",\n \"sourceType\":\"MultipleSobjects\",\n \"sourceObject\":\"AccountFeed\",\n \"status\":\"Draft\",\n \"decisionResultPolicy\":\"UniqueValues\",\n \"collectOperator\":\"Count\",\n \"sourceconditionLogic\":\"1 AND 2 AND 3\",\n \"conditionType\":\"Any\",\n \"conditionCriteria\":\"1 OR 2 OR 3 OR 4 OR 5\",\n \"parameters\":[\n {\n \"fieldName\":\"IsDeleted\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"1\",\n \"columnMapping\":\"IsDeleted\"\n },\n {\n \"fieldName\":\"Id\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"2\",\n \"columnMapping\":\"Id\"\n },\n {\n \"fieldName\":\"Title\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"3\",\n \"columnMapping\":\"Title\"\n },\n {\n \"fieldName\":\"OldvalNumber\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"4\",\n \"columnMapping\":\"AccountHistory.OldvalNumber\"\n },\n {\n \"fieldName\":\"OldvalString\",\n \"usage\":\"INPUT\",\n \"operator\":\"Equals\",\n \"sequence\":\"5\",\n \"columnMapping\":\"AccountHistory.OldvalString\"\n },\n {\n \"fieldName\":\"CreatedById\",\n \"usage\":\"OUTPUT\",\n \"columnMapping\":\"CreatedById\"\n },\n {\n \"fieldName\":\"NewvalNumber\",\n \"usage\":\"OUTPUT\",\n \"columnMapping\":\"AccountHistory.NewvalNumber\"\n },\n {\n \"fieldName\":\"NewvalString\",\n \"usage\":\"OUTPUT\",\n \"columnMapping\":\"AccountHistory.NewvalString\"\n }\n ]\n \"sourceCriteria\":[\n {\n \"sourceFieldName\":\"OldvalString\",\n \"value\":\"5\",\n \"operator\":\"E
# --- truncated at 32 KB (2249 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/openapi/salesforce-create-api-openapi.yml