Task Deleted Webhook | WeGoDoo Help

Task Deleted Event

The Task Deleted event is triggered whenever a task is deleted in the WeGoDoo application. When this event occurs, a webhook will send the following JSON payload to the configured endpoint:


JSON Payload Example

Notes{
"event_type": "task_deleted",
"timestamp": "2024-11-27T12:11:11",
"data": {
"task_id": "556677",
"list_id": "889900",
"list_name": "Team Objectives",
"task_name": "Prepare Annual Budget Report",
"note": "Make sure to include a detailed breakdown of expenses.",
"due_date": "2024-12-01T14:00:00Z",
"mark_as_important": true,
"created_by": {
"user_id": "john.doe@example.com",
"username": "John Doe"
},
"assigned_to": {
"user_id": "jane.smith@example.com",
"username": "Jane Smith"
},
"verify_by": {
"user_id": "michael.brown@example.com",
"username": "Michael Brown"
},
"deleted_by": {
"user_id": "alice.walker@example.com",
"username": "Alice Walker"
}
}
}

Field Descriptions

  • event_type: The type of event that triggered the webhook (task_deleted in this case).
  • timestamp: The time the event occurred in ISO 8601 format.
  • data: Contains detailed information about the deleted task:
    • task_id: Unique identifier of the task.
    • list_id: Unique identifier of the list containing the task.
    • list_name: Name of the list containing the task.
    • task_name: Name of the deleted task.
    • note: Additional notes or context about the task.
    • due_date: The due date for the task in ISO 8601 format.
    • mark_as_important: Boolean flag indicating if the task was marked as important.
    • created_by: Information about the user who originally created the task:
      • user_id: Email ID of the task creator.
      • username: Name of the task creator.
    • assigned_to: Information about the user to whom the task was assigned:
      • user_id: Email ID of the assigned user.
      • username: Name of the assigned user.
    • verify_by: Information about the user responsible for verifying the task:
      • user_id: Email ID of the verifier.
      • username: Name of the verifier.
    • deleted_by: Information about the user who deleted the task:
      • user_id: Email ID of the user who deleted the task.
      • username: Name of the user who deleted the task.