POST
/eventsCreate an eventRequest body
application/json
objectCreateEventRequest
namestringrequiredThe name of the event. Cannot start with the reserved `resend:` prefix.
schemanull | objectAn optional flat key/type map defining the event payload schema. Supported types are `string`, `number`, `boolean`, and `date`.
{
"name": "string",
"schema": {}
}Responses
objectCreateEventResponse
idstring · uuidThe ID of the created event.
objectstringType of the response object.
{
"id": "00000000-0000-0000-0000-000000000000",
"object": "event"
}