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 thanhttps://api.ditcharbon.com/organizations
- This /batch endpoint is for any endpoint not on /v1.0 - see deprecated /v1.0/batch for those endpoints.
Code Examples
API Key:
curl -X POST "https://api.ditchcarbon.com/batch" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"example": "value"
}'
API Explorer
Loading API Explorer...
Request Body
Content type: application/x-www-form-urlencoded
Responses
200 An array of responses. The order of responses matches the order of requests.
Content type: application/json