Salesforce Automation System · Example Payload

Salesforce Submit Approval Example

Submit a contract record for approval.

Approval ProcessAutomationCRMFlowProcess BuilderSalesforceWorkflows

Salesforce Submit Approval Example is an example object payload from Salesforce Automation System, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationmethodpathdescriptionrequestresponse

Example Payload

Raw ↑
{
  "operation": "Submit Approval Request",
  "method": "POST",
  "path": "/services/data/v59.0/process/approvals",
  "description": "Submit a contract record for approval.",
  "request": {
    "headers": {
      "Authorization": "Bearer <access_token>",
      "Content-Type": "application/json"
    },
    "body": {
      "requests": [
        {
          "actionType": "Submit",
          "contextActorId": "005xx000001SvRNAA0",
          "contextId": "800xx000000001RAAQ",
          "comments": "Contract ready for legal and finance review. Approved by sales manager.",
          "processDefinitionNameOrId": "Contract_Approval_Process"
        }
      ]
    }
  },
  "response": {
    "status": 200,
    "body": [
      {
        "actorIds": ["005xx000001LegalAAA"],
        "entityId": "800xx000000001RAAQ",
        "errors": null,
        "instanceId": "04gxx000000001ZAAQ",
        "instanceStatus": "Pending",
        "newWorkitemIds": ["04ixx000000001ZAAQ"],
        "success": true
      }
    ]
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/salesforce-submit-approval-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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