Developers
API referenceWebhook events

allocation.created

The Foundation registered a donation of your company: trees were pledged. The allocation has status pledged and no planting yet.

Delivered as a POST to every enabled endpoint that subscribes to allocation.created, signed with the WoodYouCare-Signature header (see the Webhooks guide). Answer with any 2xx status within 10 seconds.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Example Requests

POST/allocation.created