The events endpoint requires read permission.
Authentication
https://platform-api.anyspend.com/api/v1
Endpoints
List Events
read
List API events with optional filtering. Results are returned in reverse chronological order (newest first).
string
Filter by event type (e.g.,
payment_link.created, webhook.updated, discount_code.deleted).string
Filter by resource type (e.g.,
payment_link, webhook, discount_code, widget, notification).string
ISO 8601 timestamp. Only return events created at or after this time.
string
ISO 8601 timestamp. Only return events created at or before this time.
number
Page number for pagination (default:
1).number
Results per page (default:
20, max: 100).- cURL
- SDK
Event Object
Event Types
Events follow the pattern{resource_type}.{action}:
Resource Types
Filtering Examples
Events for a specific date range
- cURL
- SDK
All webhook-related events
- cURL
- SDK
Deletion audit
- cURL
- SDK
Events are retained for 90 days. For longer retention, export events periodically using the date range filters.
HypeDuel