Event Ingestion
Ingest events to Togai
This API let’s you to ingest events to your Togai account. Events ingested using this API will be processed via associated usage meters and further via associated price plans to generate final billable value to invoice the customer Read more about Event Ingestion
POST
/
ingest
Pre-Defined event types other than raw events
Named License Event: For ingesting named license related events.
Schema Name: togai-named-license
Required dimensions:
- license_id: ID of the license
- name: Unique name of the license
Required attributes:
- action: Action performed on the license, supported values are
1
or-1
for add and remove respectively
- action: Action performed on the license, supported values are
Usage Event: For ingesting usage directly to usage meters.
Schema Name: togai-usage
Required dimensions:
- usage_meter_id: ID of the usage meter
Required attributes:
- usage: Usage Value
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.