Create Event
Creates an Event in a named Channel, creating the Channel when necessary. When notify is true (the default), Organization members who turned on notifications for the Channel receive a web push notification. Events are retained for 90 days.
/v1/eventsAuthorizationBearer token (EmitKit API key) · headerrequiredEmitKit API key in the Authorization header as Bearer emitkit_…
X-API-KeyAPI key · headerrequiredEmitKit API key beginning with emitkit_.
Idempotency-KeystringA caller-generated command identifier, scoped to the API key and kept for 24 hours. Reusing it with the same request replays the first response; reusing it with a different request, or while the first request is still running, returns 409.
application/jsonchannelNamestringrequiredChannel name. The Channel is created automatically when it does not exist.
descriptionstringdisplayAsstringmessagenotificationiconstringmetadataobjectnotifybooleanSend a web push notification to devices subscribed to the Channel.
sourcestringtagsstring[]titlestringrequireduserIdstring | nullThe Event was created or an earlier response was replayed.
dataobjectrequiredShow propertiesHide properties
channelIdstringrequiredchannelNamestringrequiredcreatedAtstring<date-time>requiredidstringrequiredtitlestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe request does not match the operation contract.
detailsobject[]requiredShow propertiesHide properties
objectcodestringmessagestringrequiredpathstring | integer[]requiredShow propertiesHide properties
string | integerstringintegererrorstringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredAuthentication credentials are missing or invalid.
errorstringrequiredmessagestringrequiredThe API key's Project has been deleted.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe Idempotency-Key belongs to a different event request.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe request body exceeds 1 MiB, or the stored Event would exceed the 16 KB limit (all of its stored fields, including metadata, combined).
errorstringrequiredmessagestringrequiredRequest body exceeds the 1 MiB limitEvent exceeds the 16 KB storage limitrequestIdstring<uuid>requiredsuccessbooleanrequiredThe authenticated principal exceeded its rate limit.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe Event could not be created.
errorstringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequired