Create a Custom EventAsk AIpost https://api.optimizely.com/v2/projects/{project_id}/custom_eventsCreate a Custom Event in a provided ProjectPath Paramsproject_idint64requiredThe Project ID of the Project you want to create an Custom Event inBody ParamsA string in JSON format that includes all the fields to create a Custom EventarchivedbooleanWhether or not to archive this Eventtruefalsecategorystringenumadd_to_cartsavesearchsharepurchaseconvertsign_upsubscribeotherShow 9 enum valuesdescriptionstringA description of this Eventevent_propertiesarray of objectsA set of user-defined data elements for the event. Metrics can filter on particular values of these properties.event_propertiesADD objectevent_typestringenumThe type of this EventcustomAllowed:customkeystringrequiredlength ≤ 64Unique string identifier for this Event within the ProjectnamestringA human readable name for this Event. If unspecified, defaults to the keyResponses 201Return the created Custom Event 400Invalid request body supplied 401Invalid credentials 403You do not have access to the specified Project defaultUnexpected errorUpdated 7 months ago