Every webhook notification is wrapped in a standard envelope. TheDocumentation Index
Fetch the complete documentation index at: https://docs.grainfinance.co/llms.txt
Use this file to discover all available pages before exploring further.
data field contains the event-specific payload.
| Field | Type | Description |
|---|---|---|
| eventId | string | Deterministic unique UUID. Use for idempotency and deduplication. |
| type | string | The event type (e.g., hedge.completed). |
| environment | string | "Live" or "Sandbox". |
| createdAtTs | number | Unix timestamp in milliseconds when the event was created. |
| version | string | Payload schema version. Currently "1.0". |
| organizationId | string | UUID of the organization the event belongs to. |
| data | object | Event-specific payload. Structure varies by event type. |