Tasks Events
Task Completed
This event is triggered when a task is completed in the system.
postWebhooktask.completed
Payload
Example payload
{
"id": "event_euyrvozb9302uwhq",
"type": "task.completed",
"data": {
"id": "task_euyrvozb9302uwhq",
"operation": "apply-effect",
"result": {
"generated_files": [
{
"id": "file_euyrvozb9302uwhq",
"name": "Example Image",
"type": "image/png",
"properties": {
"size": 1024,
"width": 800,
"height": 600
},
"task_id": "task_euyrvozb9302uwhq",
"created_at": "2021-05-01T12:00:00Z"
}
]
}
},
"timestamp": "2023-10-01T12:00:00Z"
}Response
Webhook received successfully