The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.
Dev guideRecipesAPI ReferenceChangelog
Dev guideAPI ReferenceRecipesChangelogUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Create a Custom Event

Create a Custom Event in a provided Project

Path Params
int64
required

The Project ID of the Project you want to create an Custom Event in

Body Params

A string in JSON format that includes all the fields to create a Custom Event

boolean

Whether or not to archive this Event

string
enum
string

A description of this Event

event_properties
array of objects

A set of user-defined data elements for the event. Metrics can filter on particular values of these properties.

event_properties
string
enum

The type of this Event

Allowed:
string
required
length ≤ 64

Unique string identifier for this Event within the Project

string

A human readable name for this Event. If unspecified, defaults to the key

Responses

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