Retrieve event
One event by its id or its name, with the latest times it was sent and what each one set off.
events_getArguments
idstringRequiredThe id or the name of the event. Up to 120 characters.
Returns
The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.
object"event"Always
event.idstringThe id of the event.
namestringThe name of the event, such as
order.paid.schemaRecord<string, string> | nullThe type of each value its data has to carry:
string,number,booleanordate.nulltakes any data.receivedintegerHow many times it has been sent.
lastReceivedAtstring | nullWhen it was last sent, or
null.createdAtstringWhen the event was first defined or sent.
recentobject[]The latest times it was sent, newest first, with what each one set off.
recent[].object"event_receipt"Always
event_receipt.recent[].idstringThe id of this one event that was sent.
recent[].namestringThe name of the event.
recent[].emailstringThe address of the person it was about.
recent[].contactIdstring | nullThe id of their contact, or
null.recent[].dataRecord<string, unknown>The data that came with it.
recent[].startedintegerHow many runs it started.
recent[].resumedintegerHow many waiting runs it let go on.
recent[].exitedintegerHow many runs it ended.
recent[].createdAtstringWhen it was received.