File Events
file.created
This event is triggered when a file is created in the system.
idrequired
string
The id of the event
timestamprequired
string
The timestamp of the moment when the event was created in ISO 8601 format
typerequired
string
The type of the event
datarequired
Image Data | Document Data
The data of the event
idrequired
string
The ID of the file
namerequired
string
The name of the file
typerequired
string
The MIME type of the file
Value in
"image/png" | "image/jpeg" | "image/webp"
propertiesrequired
object
task_idrequired
string | null
The id of the task that generated this file, if any
idrequired
string
The ID of the file
namerequired
string
The name of the file
typerequired
string
The MIME type of the file
Value in
"application/pdf"
propertiesrequired
object
task_idrequired
string | null
The id of the task that generated this file, if any