Every API here is available over the APIs.io API and to AI agents over MCP.
openapi: 3.2.0
info:
title: Salesforce Get 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: Get
paths:
/services/oauth2/userinfo:
parameters: []
get:
tags:
- Get
summary: Salesforce Get User Info
description: This requests uses an access token to get user information from Salesforce using the standard `/userinfo` endpoint.
operationId: GetUserInfo
parameters:
- name: Authorization
in: header
description: Replace <token> with your access token
required: true
schema:
type: string
examples:
- Bearer <Token>
example: example_value
- name: Content-Type
in: header
description: ''
required: true
schema:
const: application/json
type: string
examples:
- application/json
example: example_value
responses:
'200':
description: ''
headers: {}
deprecated: false
security: []
servers:
- url: https://login.salesforce.com
variables: {}
x-api-evangelist-processing:
PascalCaseOperationSummaries: true
ChooseTags: true
x-microcks-operation:
delay: 0
dispatcher: FALLBACK
/data/v64.0/jobs/query/:
parameters: []
get:
tags:
- Get
summary: Salesforce Get Job Info Query
operationId: GetJobInfoQuery
parameters: []
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Fri, 17 Nov 2023 16:13:43 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=2/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/SuccessfulGetJobInfoQuery'
- examples:
- id: 750...
operation: insert
object: Account
createdById: 005...
createdDate: <datetime>
systemModstamp: <datetime>
state: Open
concurrencyMode: Parallel
contentType: CSV
apiVersion: 58
jobType: Classic
retries: 0
totalProcessingTime: 0
apiActiveProcessingTime: 0
apexProcessingTime: 0
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
jobType: Classic
retries: 0
totalProcessingTime: 0
apiActiveProcessingTime: 0
apexProcessingTime: 0
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/query//results:
parameters: []
get:
tags:
- Get
summary: Salesforce Get Job Query Result
operationId: GetJobQueryResult
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
const: application/json
type: string
examples:
- application/json
example: example_value
- name: Accept
in: header
description: ''
required: true
schema:
type: string
examples:
- test/csv
example: example_value
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/jobs/query//resultPages:
parameters: []
get:
tags:
- Get
summary: Salesforce Get Parallel Results for a Query Job
description: Retrieves a set of up to 5 job results pages for parallel download.
operationId: GetParallelResultsforaQueryJob
parameters:
- name: Content-Type
in: header
description: ''
required: true
schema:
const: application/json
type: string
examples:
- application/json
example: example_value
- name: Accept
in: header
description: ''
required: true
schema:
type: string
examples:
- application/json
example: example_value
responses:
default:
description: ''
headers: {}
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/GetParallelResultsforaQueryJob'
- examples:
- resultPages:
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=aBcDeFg4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=HiJkLmN4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=oPQrStU4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=vWxYzz4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=NiKmABC4N
nextRecordsUrl: /jobs/query/750R0000000zxr8IAA/resultpages?locator=YcApWm4N
done: false
contentMediaType: application/json
example:
resultPages:
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=aBcDeFg4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=HiJkLmN4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=oPQrStU4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=vWxYzz4N
- resultLink: /jobs/query/750R0000000zxr8IAA/results?locator=NiKmABC4N
nextRecordsUrl: /jobs/query/750R0000000zxr8IAA/resultpages?locator=YcApWm4N
done: false
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: []
get:
tags:
- Get
summary: Salesforce Get Job Info
operationId: GetJobInfo
parameters: []
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 20 Nov 2023 15:03:34 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=8/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/SuccessfulGetJobInfo'
- examples:
- id: 750...
operation: insert
object: Asset
createdById: 005...
createdDate: <datetime>
systemModstamp: <datetime>
state: JobComplete
concurrencyMode: Parallel
contentType: CSV
apiVersion: 58
jobType: V2Ingest
lineEnding: LF
columnDelimiter: COMMA
numberRecordsProcessed: 1
numberRecordsFailed: 1
retries: 0
totalProcessingTime: 100
apiActiveProcessingTime: 43
apexProcessingTime: 0
contentMediaType: application/json;charset=UTF-8
example:
id: 750...
operation: insert
object: Asset
createdById: 005...
createdDate: <datetime>
systemModstamp: <datetime>
state: JobComplete
concurrencyMode: Parallel
contentType: CSV
apiVersion: 58
jobType: V2Ingest
lineEnding: LF
columnDelimiter: COMMA
numberRecordsProcessed: 1
numberRecordsFailed: 1
retries: 0
totalProcessingTime: 100
apiActiveProcessingTime: 43
apexProcessingTime: 0
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//successfulResults:
parameters: []
get:
tags:
- Get
summary: Salesforce Get Job Successful Record Results
operationId: GetJobSuccessfulRecordResults
parameters: []
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 20 Nov 2023 15:04:15 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=12/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:
text/csv:
schema:
type: string
examples:
- '"sf__Id","sf__Created",Name
'
contentMediaType: text/csv
example: '"sf__Id","sf__Created",Name
'
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//unprocessedrecords:
parameters: []
get:
tags:
- Get
summary: Salesforce Get Job Unprocessed Record Results
operationId: GetJobUnprocessedRecordResults
parameters: []
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Mon, 20 Nov 2023 15:04: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
Sforce-Limit-Info:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: api-usage=15/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:
text/csv:
schema:
type: string
examples:
- 'Name
'
contentMediaType: text/csv
example: 'Name
'
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/{decisionTableId}:
parameters: []
get:
tags:
- Get
summary: Salesforce Get Table
description: "# Decision Table Definitions ( GET)\n\nGet details of a decision table definition.\n\nResource\n\n```\n/connect/business-rules/decision-table/definitions/${decisionTableId}\n\n ```\n\nResource Example\n\n```\nhttps://yourInstance.salesforce.com/services/data/v59.0/connect/business-rules/decision-table/definitions/0lDxx00000002Ur\n\n ```\n\nAvailable version\n\n58.0\n\nRequires Chatter\n\nNo\n\nHTTP methods\n\nGET\n\nResponse body for GET\n\n[Decision Table Output](https://developer.salesforce.com/docs/atlas.en-us.industries_reference.meta/industries_reference/connect_responses_decision_table_output.htm)\n\n# Decision Table Output\n\nOutput representation of the decision table details.JSON example for GET, POST, and PATCH\n\n```\n{\n \"code\":\"200\",\n \"decisionTable\":{\n \"collectOperator\":\"Count\",\n \"conditionCriteria\":\"1 OR 2 OR 3\",\n \"conditionType\":\"Any\",\n \"decisionResultPolicy\":\"UniqueValues\",\n \"description\":\"Eligiblity of Products using Qualification Rules\",\n \"id\":\"0lDxx00000000BJ\",\n \"parameters\":[\n {\n \"fieldName\":\"IsDeleted\",\n \"isGroupByField\":false,\n \"isPriority\":false,\n \"operator\":\"Equals\",\n \"sequence\":1,\n \"usage\":\"Input\"\n },\n {\n \"fieldName\":\"CreatedById\",\n \"isGroupByField\":false,\n \"isPriority\":false,\n \"usage\":\"Output\"\n },\n {\n \"fieldName\":\"Title\",\n \"isGroupByField\":false,\n \"isPriority\":false,\n \"operator\":\"Equals\",\n \"sequence\":3,\n \"usage\":\"Input\"\n },\n {\n \"fieldName\":\"Id\",\n \"isGroupByField\":false,\n \"isPriority\":false,\n \"operator\":\"Equals\",\n \"sequence\":2,\n \"usage\":\"Input\"\n }\n ],\n \"setupName\":\"Product Qualificiation eligibility3\",\n \"sourceCriteria\":[\n \n ],\n \"sourceObject\":\"AccountFeed\",\n \"sourceType\":\"SingleSobject\",\n \"sourceconditionLogic\":\"1 AND 2 AND 3\",\n \"status\":\"Draft\"\n },\n \"isSuccess\":true,\n \"message\":\"\"\n}\n\n ```\n\nJSON example for DELETE\n\n```\n{\n \"code\":\"200\",\n \"isSuccess\":true,\n \"message\":\"\"\n}\n\n ```\n\n| Property Name | Type | Description | Filter Group and Version | Available Version |\n| --- | --- | --- | --- | --- |\n| code | String | Response code from the API request. | Small, 58.0 | 58.0 |\n| decisionTable | [Decision Table Definition Output](https://developer.salesforce.com/docs/atlas.en-us.industries_reference.meta/industries_reference/connect_responses_decision_table_definition_output.htm) | Details of the decision table definition associated with the decision table. | Small, 58.0 | 58.0 |\n| isSuccess | Boolean | Indicates whether the API request is successful (true) or not (false). | Small, 58.0 | 58.0 |\n| message | String | Error message when the API request fails. | Small, 58.0 | 58.0 |"
operationId: GetTable
parameters:
- name: decisionTableId
in: path
description: Decision Table Id
required: true
schema:
type: string
examples:
- 0lDHo0000008Po3
example: '500123'
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Tue, 19 Sep 2023 13:05: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
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/Status200-Success'
- examples:
- code: '200'
decisionTable:
conditionCriteria: 1 OR 2 OR 3
conditionType: Any
description: Eligiblity of Products using Qualification Rules
id: 0lDHo0000008Pnt
parameters:
- fieldName: IsDeleted
isGroupByField: false
operator: Equals
sequence: 1
usage: Input
- fieldName: CreatedById
isGroupByField: false
usage: Output
- fieldName: Title
isGroupByField: false
operator: Equals
sequence: 3
usage: Input
- fieldName: Id
isGroupByField: false
operator: Equals
sequence: 2
usage: Input
setupName: Product Qualificiation eligibility
sourceCriteria: []
sourceObject: AccountFeed
status: Active
isSuccess: true
message: ''
contentMediaType: application/json;charset=UTF-8
example:
code: '200'
decisionTable:
conditionCriteria: 1 OR 2 OR 3
conditionType: Any
description: Eligiblity of Products using Qualification Rules
id: 0lDHo0000008Pnt
parameters:
- fieldName: IsDeleted
isGroupByField: false
operator: Equals
sequence: 1
usage: Input
- fieldName: CreatedById
isGroupByField: false
usage: Output
- fieldName: Title
isGroupByField: false
operator: Equals
sequence: 3
usage: Input
- fieldName: Id
isGroupByField: false
operator: Equals
sequence: 2
usage: Input
setupName: Product Qualificiation eligibility
sourceCriteria: []
sourceObject: AccountFeed
status: Active
isSuccess: true
message: ''
'400':
description: Bad Request
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Tue, 19 Sep 2023 13:20:33 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
Transfer-Encoding:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: chunked
content:
application/json;charset=UTF-8:
schema:
type: array
items:
$ref: '#/components/schemas/Status400-InstanceNotFound1'
description: ''
examples:
- - errorCode: INVALID_ID_FIELD
message: We couldn’t find a record with that ID. Specify a valid decisionTableId and try again.
contentMediaType: application/json;charset=UTF-8
example:
- errorCode: INVALID_ID_FIELD
message: We couldn’t find a record with that ID. Specify a valid decisionTableId and try again.
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/einstein/ai-evaluations/runs/{runId}:
parameters: []
get:
tags:
- Get
summary: Salesforce Get Test Status
description: Generates a response based on the specified prompt template and input parameters ([documentation](https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resources_prompt_template.htm)).
operationId: Getteststatus
parameters:
- name: runId
in: path
description: Evaluation ID
required: true
schema:
type: string
example: '500123'
responses:
'200':
description: OK
headers:
Date:
content:
text/plain:
schema:
type: string
contentMediaType: text/plain
example: Wed, 10 Sep 2025 13:46:26 GMT
Transfer-Encoding:
content:
text/plain:
schema:
# --- truncated at 32 KB (2652 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/openapi/salesforce-get-api-openapi.yml