Create Event

Create an event and return the details

Query Params
string

Public access token used to authorize the request. Requests may only come from the token's allowed domains. This parameter is mandatory when making requests from a browser. Outside of the browser instead supply a bearer header using a private access token.

string

Retrieve list of products of a particular organization. For the token's organization, it retrieves the list of all products. For a public organization it retrieves the list of shared products.

Body Params

Event creation fields

string
enum
required

Specify the type of event to be stored. The supported event types ar listed below

eventMetadata
object

User defined event related metadata

string
required

ID of the org linked to the event

string

ID of the asset linked to the event

string

ID of the user using the session linked to the event

string
required

ID of the session linked to the event

string

ID of the configuration of a product. This can either be the short ID or the complete UUID of the configuration stored in configurations-service

configuration
object

Complete configuration object of a product. This can be used in place of configId place as well

string

This is the device being used for the session linked to the event. By default it will be extracted from the User-Agent header present in a request

number

Can be used to store arbitrary metric for an event. It defaults to 1 if not provided. Numbers with decimal places are supported

Responses

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json