Sample Webhook Payloads

Once an event has fired, the webhook payload will be pushed to your webhook URL. This payload will also include headers data which will provide additional information about the event.

Webhook header

time.created and time.updated

{
    "eventCreator": {
        "id": 238860,
        "firstName": "Marc",
        "lastName": "Cashman",
        "avatar": "https://s3.amazonaws.com/TWFiles/343429/userAvatar/tf_2E7E5481-DDC3-51CD-996528D64E5EC6F6.Marc.jpeg"
    },
    "time": {
        "id": 23200713,
        "hours": 2,
        "minutes": 0,
        "date": "2024-10-03T08:38:00Z",
        "dateUserPerspective": "2024-10-03T09:38:00+01:00",
        "userId": 238860,
        "description": "Review draft of 2nd chapter",
        "billable": true,
        "invoiceId": 0,
        "taskId": 41276637,
        "projectId": 732893,
        "tags": [
            {
                "id": 66934,
                "name": "Report",
                "color": "2f8de4"
            },
            {
                "id": 61908,
                "name": "Print",
                "color": "37ced0"
            }
        ],
        "dateCreated": "2024-10-03T10:39:50Z",
        "dateUpdated": "2024-10-03T10:39:50Z"
    }
}

Feedback

If you have any feedback or suggestions, feel free to contact us at api@teamwork.com.