Changes
GET /v1/entity//changes. Poll for changes to a watched Australian entity when you cannot receive webhooks, with delivery status and response codes.
GET https://api.auo.com.au/v1/entity/{id}/changes?since={timestamp}
The polling fallback for watch. If your infrastructure cannot receive inbound webhooks,
poll this endpoint for the change events on a watched entity, along with their delivery
status. Every event that a webhook would deliver is also readable here, so nothing is
lost.
Request
Response
Returns the entity’s change events in time order, each with itsdelivery_status and,
where a webhook was attempted, the response code. Use the since cursor to page forward
until the page is empty.
since is mandatory. A request without it returns a 400 with the message
“since is required (an ISO-8601 timestamp)”.Example
Webhooks vs polling
Webhooks are the primary delivery mechanism: AUO POSTs a signed event to your URL as soon as a change is detected. Polling is the fallback for environments that cannot accept inbound requests, and a way to reconcile after an endpoint outage. Afailed
delivery (after AUO exhausts its retries) still remains readable here, so you can catch
up without losing an event.
See also
Watch and webhooks
Authorizations
Bearer token: auo_sk_test_... (sandbox) or auo_sk_live_... (live).
Path Parameters
The entity identifier (ABN or ACN) to retrieve changes for.
Query Parameters
Exclusive ISO 8601 cursor. Only events with created_at strictly after this value are returned. Pass 1970-01-01T00:00:00Z to retrieve all events from the beginning.
Maximum number of events to return. Defaults to 50, capped at 200.
x <= 200Response
Paginated list of change events for the entity. An empty changes array means no events match the cursor and filters.
Paginated list of change events for a watched entity. Use next_cursor as the since parameter for the next page. A null next_cursor means there are no further pages.