v1

latestOpenAPI 3.0.0raw.githubusercontent.com2026-05-043812.3 KB
Events

Create an event

Send an event to Trigger.dev to trigger job runs through eventTrigger()

post/api/v1/events

Request body

Response

Event successfully sent

idstring

The ID of the event that was sent.

namestring

The name of the event that was sent.

payloadDeserializedJson

A JSON object that represents the deserialized payload or context.

contextDeserializedJson

A JSON object that represents the deserialized payload or context.

timestampstring date-time

The timestamp of the event that was sent.

deliverAtstring date-time nullable

The timestamp when the event will be delivered. Null if not applicable.

deliveredAtstring date-time nullable

The timestamp when the event was delivered. Null if not applicable.

cancelledAtstring date-time nullable

The timestamp when the event was cancelled. Null if the event wasn't cancelled.

All 3 operations