PostAsk AIpost https://api.formant.io/v1/admin/custom-eventsCreate a new custom event. Resource: events Authorized roles: administrator, deviceBody ParamsCustomEventtypestringenumtriggered-eventdatapoint-eventdevice-onlinedevice-offlineintervention-requestintervention-responseteleop-session-recordport-forwarding-session-recordcommand-requestcommand-responsecommand-deliverycustomcommentsystemannotationtask-summarystatefulShow 17 enum valuesseveritystringenuminfowarningerrorcriticalAllowed:infowarningerrorcriticaliduuidcreatedAtdate-timeupdatedAtdate-timetagsobjecttags objectorganizationIduuidID of the organization in which to create this new event.externalIdstring | nullExternal ID of this event.userIduuid | nullUser ID associated with this event.timedate-timerequiredStart time of the data range relevant to this event.endTimedate-time | nullEnd time of the data range relevant to this event.parentIduuid | nullIf this custom event is related to another event, you can add the ID of that parent event here.metadataobjectUser-customizable metadata associated with this event in key-value pair format.metadata objectmessagestringlength ≤ 1024Message of this event. Must match the message field in the Formant UI when configuring a custom event.viewedbooleantruefalsedeviceIduuid | nullID of the device relevant to this event.streamNamestring | nullstreamTypestring | nullenumbooleanbitsetlocalizationpoint cloudlocationfilehealthtransform treebatteryvideonumeric setjsonimagenumerictextShow 15 enum valueseventTriggerIduuid | nullnotificationEnabledbooleanSet this to true to enable notifications for this event.truefalsenotificationMutedobject | nullSet this to temporarily mute notifications for this event.notificationMuted object | nulldeletedAtdate-time | nullResponse 201Updated 5 months ago