Sign in

Batch subrequests (Connect)

documented

Batch multiple Connect REST subrequests in one call.

POST /services/data/{version}/connect/batchConnectno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{CHATTER_INSTANCE_HOST}}/services/data/v{{version}}/composite/batch/" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -d '{"batchRequests": [ {"method": "POST", "url": "/services/data/v{{version}}/chatter/feed-elements", "body": "{\"feedElementType\":\"FeedItem\",\"subjectId\":\"{{$subject_id}}\",\"body\":{\"messageSegments\": [ { \"type\": \"Text\", \"text\": \"{{$title}}\" } ] } }"}, {"method": "GET", "url": "/services/data/v{{version}}/limits"} ], "haltOnError": false}'" 

Batch subrequests (Connect) · Salesforce Chatter · OpenIntegrations