v1

latestOpenAPI 3.1.02026-07-245644294.6 KB
Subscriptions

List subscription events

Retrieve a list of events for a specific subscription with optional filtering

get/api/public/v1/subscriptions/{id}/events

Path parameters

idstring required

Subscription ID (integer), cart reference (string), or UUID

Query parameters

typestring
Example:subscription_created,subscription_activated

Filter by event type (comma-separated for multiple)

created_atstring
Example:current_month

Filter by creation date. Supports multiple formats:

Single date: YYYY-MM-DD (e.g., '2024-01-15')

Predefined periods: 'current_month', 'current_year'

Date range: Use nested parameters created_at[from]=2024-01-01&created_at[to]=2024-01-31

Headers

Authorizationstring required

Response

Successful with type filter