Batch request

Send multiple requests to the Ditchcarbon API with one HTTP request.

Notes:

  • All requests share the same headers.
  • URLs are relative. Set url to /organizations rather than https://api.ditcharbon.com/organizations
  • This /batch endpoint is for any endpoint not on /v1.0 - see deprecated /v1.0/batch for those endpoints.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
string

JSON array of requests.

Example Curl request: curl --request POST
--url https://api.ditchcarbon.com/batch
--header 'Accept: application/json'
--header 'Authorization: Bearer TOKEN'
--header 'Content-Type: application/x-www-form-urlencoded'
--data 'requests=[{"url": "/organizations", "method": "POST", "body": {"name": "ditchcarbon"}}, {"url": "/organizations", "method": "POST", "body": {"name": "ditchcarbon"}}]'

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json