Usage Events
Create a new Usage Event
Create a new Usage Event
POST
/
usage-events
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Sequence-Version
enum<string>
Use this header to select an API version
Available options:
2024-07-30
Body
application/json
customerEventId
string
ID provided by customer. Another event with the same customer event ID will supersede this one.
customerAlias
string
requiredEnd-customer alias or ID
eventType
string
requiredEvent type. This can be referenced from a usage metric.
eventTimestamp
string
Event timestamp, in ISO 8601 format.
eventProperties
object
Event properties. These can be referenced by a usage metric.
Response
201 - application/json
id
string
requiredUnique ID
customerEventId
string
requiredID provided by customer. Another event with the same customer event ID will supersede this one.
customerAlias
string
requiredEnd-customer alias or ID
eventType
string
requiredEvent type. This can be referenced from a usage metric.
sequenceAccountId
string
requiredSequence account ID
eventTimestamp
string
requiredEvent timestamp, in ISO 8601 format.
eventProperties
object
requiredEvent properties. These can be referenced by a usage metric.