ASX Energy webhooks send market events to a configured HTTPS endpoint as POST requests. Current event types include custom market trades, RFQs, and options order updates.
Endpoints and event subscriptions are managed at Account → Webhooks. HMAC authentication is recommended; see Authentication.
See Test payload for the validation request format.
POST https://your-server.example/hooks/asx
| Name | Mandatory | Description |
|---|---|---|
| Content-Type | YES | Always application/json |
| User-Agent | YES | ASXEnergy-Webhooks/<webhook-version> |
| X-Webhook-Timestamp | YES | Unix time in milliseconds; matches JSON timestamp |
| X-Webhook-Event-Id | YES | Idempotency identifier for each webhook event; matches JSON idFormat: wh_{uuid} |
| X-Webhook-Signature | NO | HMAC-SHA256 hex digest when authentication mode is hmac |
| {your custom header} | NO | Configured header name and value when authentication mode is token |
| Name | Type | Mandatory | Description |
|---|---|---|---|
| type | enum |
YES | Event slug. See Events |
| data | object |
YES | Event payload; shape depends on typeSee Custom market and RFQ and Options Orders |
| 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} |
Example:
{
"type": "custom-au-electricity",
"data": {},
"timestamp": 1730000000000,
"id": "wh_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
| 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 |
| options-orders | AU Electricity options order updates |
Payload details: Custom market and RFQ, Options Orders.
Sent when Test Webhook is selected in the account interface.
POST https://your-server.example/hooks/asx
Request body:
| Name | Type | Mandatory | Description |
|---|---|---|---|
| type | enum |
YES | Always webhook-check |
| data | object |
YES | Empty object {} |
| timestamp | long |
YES | Unix time in milliseconds |
| id | string |
YES | Format: wh_{uuid} |
Example:
{
"type": "webhook-check",
"data": {}, // Always empty for test deliveries
"timestamp": 1730000000000,
"id": "wh_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
id for idempotency. Retries reuse the same id.| Rule | Detail |
|---|---|
| Max webhooks | 10 per account |
| Test rate | 10 tests per 3 hours |
| Register rate | 5 registrations per 3 hours |
Authentication
Authentication modes and signature verification.
Custom market and RFQ
Payloads for block trades, EFPs, and RFQ messages.
Options Orders
Payloads for AU electricity options order updates.