Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Indicates the origin (scheme, hostname, and port).
Body
Specify the details of the custom event.
Request body schema for POST v1/events
.
Event name. This is the same name that you used to define a custom event in the Dashboard > Project Settings > Event Schema.
1 - 300
Customer's information.
If a conversion event for a referral program is set to a custom event, then you need to send the referral code in the payload to make a record of the conversion event.
If an earning rule in a loyalty program is based on a custom event. This objects let's you specify the loyalty card to which the custom event should be attributed to.
The metadata object stores all custom attributes assigned to the event. A set of key/value pairs that you can attach to an event object. It can be useful for storing additional information about the event in a structured format. Event metadata schema is defined in the Dashboard > Project Settings > Event Schema > Edit particular event > Metadata property definition.
Response
Returns the event type if the event was received by the application.
Response body schema for POST v1/events
.
The object represented is an event
.
event
The event name.
A simple customer object This is an object representing a customer with limited properties used in Event Tracking endpoints.
A null
referral object.
A null
loyalty object.