Skip to main content
The Events service provides access to platform events such as identity status changes, transfer completions, and orchestration updates. Use it for polling or to fetch full event details from webhook notifications. Client accessor: client.Events

Available Methods

MethodHTTP EquivalentDescription
ListEventsGET /notification/eventsList events with optional filters
GetEventGET /notification/events/{id}Get an event by ID

ListEvents

iter := client.Events.ListEvents(ctx, &paxos.ListEventsRequest{
    Limit: 100,
})
for iter.Next() {
    event := iter.Current()
    fmt.Printf("%s: %s (%s)\n", event.ID, event.Type, event.CreatedAt)
}
if err := iter.Err(); err != nil {
    log.Fatal(err)
}

GetEvent

Fetch a single event by ID. This is used internally by client.Webhooks.ParseEvent() but is also available for direct use.
event, err := client.Events.GetEvent(ctx, "event_123")
if err != nil {
    log.Fatal(err)
}
fmt.Printf("Event %s: %s\n", event.ID, event.Type)
For the full REST API documentation, see the Events API Reference.