I was playing around with the webhooks and got this:
{
"event": "taskStatusUpdated",
"history_items": [
{
"id": "4921445450962055651",
"type": 1,
"date": "1769137147517",
"field": "status",
"parent_id": "901708770035",
"data": {
"status_type": "open"
},
"source": null,
"user": {
"id": 186041231,
"username": "Nick Zou",
"email": "user@email.com",
"color": "#595d66",
"initials": "UE",
"profilePicture": null,
"role": 1,
"role_subtype": 0
},
"before": {
"status": null,
"color": "#000000",
"type": "removed",
"orderindex": -1
},
"after": {
"status": "to do",
"color": "#87909e",
"orderindex": 0,
"type": "open"
}
}
],
"task_id": "86dzdfgtj",
"team_id": "9017615925",
"webhook_id": "5da5cfd1-e123-4e8d-825c-c657d4d59361"
}
The source is null whether I make the change via the GUI or the API. I was thinking that it might have been a field to distinguish the two. But it is null in both cases. What is the purpose of the field and is there a way to distinguish between an event triggered via the API vs the GUI?