Events
List raw events
Customers
Wallets
Invoices
Entitlements
Environments
Events
Features
Payments
Integrations
Subscriptions
Tenants
Users
Events
List raw events
Retrieve raw events with pagination and filtering
POST
/
events
/
query
curl --request POST \
--url https://api.cloud.flexprice.io/v1/events/query \
--header 'Content-Type: */*' \
--header 'x-api-key: <api-key>' \
--data '{
"end_time": "2024-12-09T00:00:00Z",
"event_id": "<string>",
"event_name": "<string>",
"external_customer_id": "<string>",
"iter_first_key": "<string>",
"iter_last_key": "<string>",
"offset": 123,
"page_size": 123,
"property_filters": {},
"source": "<string>",
"start_time": "2024-11-09T00:00:00Z"
}'
{
"events": [
{
"customer_id": "<string>",
"environment_id": "<string>",
"event_name": "<string>",
"external_customer_id": "<string>",
"id": "<string>",
"properties": {},
"source": "<string>",
"timestamp": "<string>"
}
],
"has_more": true,
"iter_first_key": "<string>",
"iter_last_key": "<string>",
"offset": 123,
"total_count": 123
}
Authorizations
Enter your API key in the format x-api-key <api-key>*
Body
*/*
Request body
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://api.cloud.flexprice.io/v1/events/query \
--header 'Content-Type: */*' \
--header 'x-api-key: <api-key>' \
--data '{
"end_time": "2024-12-09T00:00:00Z",
"event_id": "<string>",
"event_name": "<string>",
"external_customer_id": "<string>",
"iter_first_key": "<string>",
"iter_last_key": "<string>",
"offset": 123,
"page_size": 123,
"property_filters": {},
"source": "<string>",
"start_time": "2024-11-09T00:00:00Z"
}'
{
"events": [
{
"customer_id": "<string>",
"environment_id": "<string>",
"event_name": "<string>",
"external_customer_id": "<string>",
"id": "<string>",
"properties": {},
"source": "<string>",
"timestamp": "<string>"
}
],
"has_more": true,
"iter_first_key": "<string>",
"iter_last_key": "<string>",
"offset": 123,
"total_count": 123
}