List events
The Project’s events, newest first, each with its fields, actions and answer (as getEvent returns it). Page with before: pass the previous page’s nextCursor (an opaque position; a time works too). Times are ISO 8601 with their zone. Unknown parameters are refused. Deleted events and events in deleted channels are left out.
/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_.
beforestringOnly events before this point: the previous page's nextCursor, or a time
channelstringOnly this channel (its name)
limitintegerEvents per page: 1 to 100, default 50
sincestringOnly events at or after this time
A page of events.
dataobjectrequiredShow propertiesHide properties
eventsEvent[]requiredNewest first.
Show propertiesHide properties
Eventactionsobject[]requiredThe event's buttons and links ([] when none).
Show propertiesHide properties
objectidstringA button: what the answer reports, e.g. approve
labelstringrequiredrequiresstring[]Field ids that must be filled in before this button can be pressed.
stylestringprimarydestructiveurlstringA link: the page it opens
answerAnswer | anyrequirednull when the event doesn't wait for an answer.
Show propertiesHide properties
actionstring | nullrequiredThe id of the pressed button (submit when fields had no buttons).
atstring<date-time> | anyrequiredWhen it was answered.
Show propertiesHide properties
string<date-time>anybyobject | anyrequiredWho answered (an organization member).
Show propertiesHide properties
emailstringrequiredidstringrequirednamestringrequiredanyexpiresAtstring<date-time>requiredWhen a pending event stops waiting.
statusstringrequiredpendingansweredexpiredcanceledurlstring<uri>requiredThe answer page (needs a signed-in member). Pushes for this event open it.
valuesobject | anyrequiredField values by field id: an option id (an array for multiple), text, a number or a boolean. Empty text fields are left out.
Show propertiesHide properties
objectanyanycallbackobject | anyrequiredHow delivery to callbackUrl went; null without one.
Show propertiesHide properties
attemptsintegerrequireddeliveredAtstring<date-time> | anyrequiredWhen a 2xx was received.
Show propertiesHide properties
string<date-time>anylastStatusinteger | nullrequiredThe receiver's last HTTP status; null when it couldn't be reached.
urlstringrequiredanychannelIdstringrequiredchannelNamestringrequiredcreatedAtstring<date-time>requireddescriptionstring | nullrequireddisplayAsstringrequiredmessagenotificationfieldsobject[]requiredThe event's fields ([] when none).
Show propertiesHide properties
objectdefaultstring | string[]An option id (an array of ids when multiple). A single choice without one starts on its first option.
Show propertiesHide properties
stringstringstringidstringrequiredlabelstringrequiredmultiplebooleanLet the person pick several options (checkboxes).
optionsobject[]requiredShow propertiesHide properties
objectidstringrequiredWhat the answer reports, e.g. partial
labelstringrequiredWhat the person sees
typestringrequiredchoicedefaultstringidstringrequiredlabelstringrequiredmaxLengthintegermultilinebooleanplaceholderstringtypestringrequiredtextdefaultnumberidstringrequiredlabelstringrequiredmaxnumberminnumberstepnumbertypestringrequirednumberunitstringShown next to the value, e.g. $ or %
defaultbooleanidstringrequiredlabelstringrequiredtypestringrequiredbooleaniconstring | nullrequiredidstringrequiredmetadataobjectrequirednotifybooleanrequiredresumestring | nullrequiredThe resume you sent, as is (null without one).
sourcestringrequiredtagsstring[]requiredtitlestringrequireduserIdstring | nullrequirednextCursorstring | nullrequiredPass as before for the next page; null on the last page. Opaque: don't parse it.
requestIdstring<uuid>requiredsuccessbooleanrequiredThe request does not match the operation contract.
codestringrequiredStable: switch on this, not on error or message.
detailsobject[]requiredShow propertiesHide properties
objectcodestringmessagestringrequiredpathstring | integer[]requiredShow propertiesHide properties
string | integerstringintegererrorstringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredAuthentication credentials are missing or invalid.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredThe API key lacks this operation's scope (a read-only key can only read), isn't bound to a Project, or its Project was deleted.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredWhat's missing, e.g. the scope the operation needs.
requestIdstring<uuid>requiredsuccessbooleanrequiredThe authenticated principal exceeded its rate limit.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequiredUnexpected server error.
codestringrequirederrorstringrequiredrequestIdstring<uuid>requiredsuccessbooleanrequired