Custom market and RFQ webhooks share the same data structure. The request body type is the event slug selected for the subscription.
| Slug | Description |
|---|---|
| custom-au-electricity | AU Electricity custom market (block trades & EFPs) |
| custom-nz-electricity | NZ Electricity custom market (block trades & EFPs) |
| custom-environmental | Environmental custom market (block trades & EFPs) |
| rfq-au | AU Electricity RFQs |
| rfq-nz | NZ Electricity RFQs |
| rfq-environmental | Environmental RFQs |
For authentication, see Authentication.
POST https://your-server.example/hooks/asx
Headers: see Webhooks — Request Structure.
Request body:
| Name | Type | Mandatory | Description |
|---|---|---|---|
| type | enum |
YES | One of:
|
| data | object |
YES | Event payload. See data parameters below |
| timestamp | long |
YES | Unix time in milliseconds; same value as X-Webhook-Timestamp |
| id | string |
YES | Same value as X-Webhook-Event-Id. Format: wh_{uuid} |
data parameters:
| Name | Type | Mandatory | Description |
|---|---|---|---|
| datetime | string |
YES | Time as yyyy-MM-dd HH:mm:ss in Australia/Sydney timezone |
| message | string |
YES | Primary message text |
| legs | array |
NO | Present only for multi-leg messages. Array of leg objects (see below) |
legs item parameters:
| Name | Type | Mandatory | Description |
|---|---|---|---|
| datetime | string |
YES | Time as yyyy-MM-dd HH:mm:ss in Australia/Sydney timezone |
| message | string |
YES | Leg message text |
{
"type": "custom-au-electricity",
"data": {
"datetime": "2025-04-08 11:18:57", // Australia/Sydney
"message": "Block Trade Regd: HNZ2026 10 Lots @ 72.50, DealNo 12345",
"legs": [ // Omitted when the message is not multi-leg
{
"datetime": "2025-04-08 11:18:57",
"message": "Block Trade Regd: HNZ2026 10 Lots @ 72.50, DealNo 12345"
}
]
},
"timestamp": 1744077537000,
"id": "wh_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
{
"type": "rfq-au",
"data": {
"datetime": "2025-04-08 11:18:57", // Australia/Sydney
"message": "RFQ: ENK5"
},
"timestamp": 1744077537000,
"id": "wh_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}