Salesforce Approvals API

The Approvals API from Salesforce — 1 operation(s) for approvals.

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /data/v64.0/process/approvals List all approval processes · Salesforce Process Approvals #
Ask an LLM
“Which approval processes are defined in my org?”
“Can I see every approval process an object supports?”
Tell an agent
List all approval processes in the org.
Show me the approval processes I can submit records to.
POST /data/v64.0/process/approvals Submit, approve or reject a record for approval · Salesforce Process Approvals Submit #
Ask an LLM
“How do I submit a record into an approval process from code?”
“Can I approve or reject a pending request and name the next approver?”
Tell an agent
Submit record {record_id} for approval with the comment {comments}.
Perform {action} on {record_id} via process {process}, next approver {approvers}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/salesforce:salesforce-approvals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

salesforce-approvals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Salesforce Approvals 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: Approvals
paths:
  /data/v64.0/process/approvals:
    parameters: []
    get:
      tags:
      - Approvals
      summary: Salesforce Process Approvals
      description: 'Returns a list of all approval processes. Can also be used to submit a particular record if that entity supports an approval process and one has already been defined. Records can be approved and rejected if the current user is an assigned approver. When using a POST request to do bulk approvals, the requests that succeed are committed and the requests that don’t succeed send back an error.

        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_process_approvals.htm'
      operationId: ProcessApprovals
      parameters:
      - 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
      servers:
      - url: https://services
        variables: {}
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      tags:
      - Approvals
      summary: Salesforce Process Approvals Submit
      description: 'Returns a list of all approval processes. Can also be used to submit a particular record if that entity supports an approval process and one has already been defined. Records can be approved and rejected if the current user is an assigned approver. When using a POST request to do bulk approvals, the requests that succeed are committed and the requests that don’t succeed send back an error.

        https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_process_approvals.htm'
      operationId: ProcessApprovalsSubmit
      parameters: []
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/ProcessApprovalsSubmitRequest'
              - examples:
                - actionType: string
                  contextActorId: ID
                  contextId: ID
                  comments: string
                  nextApproverIds: ID[]
                  processDefinitionNameOrId: string
                  skipEntryCriteria: boolean
              contentMediaType: application/json
            example:
              actionType: string
              contextActorId: ID
              contextId: ID
              comments: string
              nextApproverIds: ID[]
              processDefinitionNameOrId: string
              skipEntryCriteria: boolean
        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
components:
  schemas:
    ProcessApprovalsSubmitRequest:
      title: ProcessApprovalsSubmitRequest
      required:
      - actionType
      - contextActorId
      - contextId
      - comments
      - nextApproverIds
      - processDefinitionNameOrId
      - skipEntryCriteria
      type: object
      properties:
        actionType:
          type: string
          example: example_value
        contextActorId:
          type: string
          example: '500123'
        contextId:
          type: string
          example: '500123'
        comments:
          type: string
          example: example_value
        nextApproverIds:
          type: string
          example: example_value
        processDefinitionNameOrId:
          type: string
          example: '500123'
        skipEntryCriteria:
          type: string
          example: example_value
      examples:
      - actionType: string
        contextActorId: ID
        contextId: ID
        comments: string
        nextApproverIds: ID[]
        processDefinitionNameOrId: string
        skipEntryCriteria: boolean
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: '{DefaultParameterValue}{DefaultParameterValue}/services/oauth2/authorize'
          scopes:
            api: ''