Send Usage Event
Send a usage event to Autumn
This endpoint is for sending usage events to Autumn, required for tracking your usage-based features.
If the customer_id
you send doesn’t already exist, Autumn will automatically
create a new customer. You can optionally set the properties of this new customer
through the customer_data
field.
Authorizations
Your secret key must be used as the Bearer token for this endpoint.
Body
Name of the event
ID which you provided when creating the customer
Unique identifier for the event. If the same event is sent multiple times, it will be ignored.
Event properties. Can be used to send a value when using SUM aggregation.
Properties to create a new customer. If a customer with the provided customer_id
already exists, this object is ignored. Alternatively, use the /customers endpoint.
Response
Event sent