curl --request POST \
--url https://ingest.hyperline.co/v1/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "cus_CrqwefTRWBWRT",
"event_type": "api_call",
"timestamp": "2024-12-20T16:04:11Z",
"record": {
"id": "D32NAA8",
"durationInMs": 32,
"isVerified": true
}
}'
Create a new billable event.
curl --request POST \
--url https://ingest.hyperline.co/v1/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "cus_CrqwefTRWBWRT",
"event_type": "api_call",
"timestamp": "2024-12-20T16:04:11Z",
"record": {
"id": "D32NAA8",
"durationInMs": 32,
"isVerified": true
}
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Whether to calculate prices for the event
true
Event payload
The body is of type object
.
Event created
Was this page helpful?