Skip to content

Instantly share code, notes, and snippets.

@guillegette
Created December 15, 2021 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guillegette/e60b925cb464bc483f74ef649ebf15c7 to your computer and use it in GitHub Desktop.
Save guillegette/e60b925cb464bc483f74ef649ebf15c7 to your computer and use it in GitHub Desktop.
Outgoing webhooks event sample
{
"id": "61b8e1be1406c410721345d2",
"type": "task_completed",
"createdAt": "2021-12-14T18:26:06.341Z",
"updatePatch": {
"status": "done",
"doneAt": "2021-12-14T18:26:06.304Z",
"doneBy": "4e2a196930fc8294cbc14fc239b012ba",
"removedBy": null,
"removedAt": null
},
"deletePatch": {
"status": "pending"
},
"team": {
"id": "a3252efdd3e6cb2672796408ae58a2f3",
"name": "WorkastDevFree",
"url": "https://workastdevfree.beta.hades.tech",
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3",
"domain": "workastdevfree",
"totalTasks": 293,
"status": "active",
"createdAt": "2021-02-09T18:16:57.465Z",
"betaTester": true,
"platformDetails": {
"name": "slack",
"teamId": "T01MX2YV0GZ",
"url": "https://workastdevfree.slack.com/",
"emailDomain": "workast.com"
},
"icon": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0024-132.png"
},
"list": {
"id": "60679b142c894c06acafa707",
"hash": "a23e1af673b887e21bc5d12f179b9692",
"avatar": "",
"name": "Proj 1",
"description": null,
"numberOfParticipants": 5,
"type": "group",
"slug": "proj-1",
"privacy": "team",
"platformDetails": {
"name": "slack",
"channelId": "C01TWQFEMSL",
"channelName": "proj-1",
"type": "group",
"teamId": "T01MX2YV0GZ"
},
"isArchived": false,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba",
"participants": [
"4e2a196930fc8294cbc14fc239b012ba",
"e51e2719a2c10da843de4490a8c9cdc0",
"3d27ac574a7fb460d5f0505c09d8dc7f",
"9a9c9b181d571d36f6dc4650870928f5",
"be4d8b6043fdbc02ac3c3ac3f470c07f"
],
"platformNotifications": {
"taskCreated": true,
"taskCompleted": true
},
"apps": [
"5af007dff36d2837eae6e56c",
"5b23db7ae7179a589282a6a2",
"5c816a44d1f64f00019a9c77"
],
"defaultSubList": "60679b142c894c06acafa706",
"subLists": [
{
"id": "60679b142c894c06acafa706",
"name": "Open tasks",
"listPosition": 100000,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba"
}
],
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3/space/60679b142c894c06acafa707",
"isParticipant": true,
"someParticipants": [
{
"id": "9a9c9b181d571d36f6dc4650870928f5",
"name": "Matias Fito",
"userName": "matias.fito",
"email": "matias@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D023VHFV1S4",
"selfChannel": null,
"userId": "U0235PAPZK4",
"teamId": "T01MX2YV0GZ"
},
"confirmed": false,
"avatar": "https://secure.gravatar.com/avatar/1429be40a8356584ef0b13bb153b170e.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0007-512.png",
"costCenter": "6022d1997893310ad9a1b740"
},
{
"id": "e51e2719a2c10da843de4490a8c9cdc0",
"name": "Julian",
"userName": "julian",
"email": "guillermogette+free@gmail.com",
"platformDetails": {
"name": "slack",
"imChannel": "D0233ETBYSV",
"selfChannel": null,
"userId": "U022QS3C7T4",
"teamId": "T01MX2YV0GZ"
},
"confirmed": true,
"avatar": "https://secure.gravatar.com/avatar/0634b2121fcc86d072fb214c48987088.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-512.png",
"costCenter": "60ff4e2aa76499109f486260"
},
{
"id": "3d27ac574a7fb460d5f0505c09d8dc7f",
"name": "Orland",
"userName": "orland",
"email": "orlando@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D023605JQ1Z",
"selfChannel": null,
"userId": "U023VHG186L",
"teamId": "T01MX2YV0GZ"
},
"confirmed": false,
"avatar": "https://secure.gravatar.com/avatar/4a1c56bb47e26a59dad4c940c2d06c72.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
}
],
"columns": [
"field:6172f6fc6c1110752639614e",
"assignedTo",
"dueDate",
"field:618966f15a62892ab2acf3ac",
"field:618967345a62892ab2acf9be"
],
"groupBy": "subList"
},
"task": {
"id": "4d5a8b98e52187179f43b13ee6c2b3c1",
"shortId": "TNAB",
"status": "done",
"subscribers": [
"e51e2719a2c10da843de4490a8c9cdc0",
"4e2a196930fc8294cbc14fc239b012ba"
],
"text": "work on something @guillermo test",
"doneAt": "2021-12-14T18:26:06.304Z",
"subListId": "60679b142c894c06acafa706",
"listId": "60679b142c894c06acafa707",
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3/task/4d5a8b98e52187179f43b13ee6c2b3c1",
"allDay": false,
"createdBy": "e51e2719a2c10da843de4490a8c9cdc0",
"assignedTo": [
{
"id": "4e2a196930fc8294cbc14fc239b012ba",
"createdAt": "2021-02-09T18:16:57.111Z",
"name": "guillermo",
"userName": "guillermo",
"platformDetails": {
"name": "slack",
"imChannel": "D01T00X88UE",
"selfChannel": null,
"userId": "U01MBLHAV8W",
"teamId": "T01MX2YV0GZ"
},
"timezone": "America/Buenos_Aires",
"email": "guillermo@workast.com",
"lastActive": "2021-12-14T17:51:45.501Z",
"role": "admin",
"status": "active",
"confirmed": true,
"profile": {
"role": "Manager"
},
"avatar": "https://secure.gravatar.com/avatar/65608d5f8cf05a3771bef1e690d8ad5f.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
}
],
"doneBy": {
"id": "4e2a196930fc8294cbc14fc239b012ba",
"createdAt": "2021-02-09T18:16:57.111Z",
"name": "guillermo",
"userName": "guillermo",
"platformDetails": {
"name": "slack",
"imChannel": "D01T00X88UE",
"selfChannel": null,
"userId": "U01MBLHAV8W",
"teamId": "T01MX2YV0GZ"
},
"timezone": "America/Buenos_Aires",
"email": "guillermo@workast.com",
"lastActive": "2021-12-14T17:51:45.501Z",
"role": "admin",
"status": "active",
"confirmed": true,
"profile": {
"role": "Manager"
},
"avatar": "https://secure.gravatar.com/avatar/65608d5f8cf05a3771bef1e690d8ad5f.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
},
"removedBy": null
},
"actor": {
"type": "User",
"id": {
"id": "4e2a196930fc8294cbc14fc239b012ba",
"name": "guillermo",
"userName": "guillermo",
"email": "guillermo@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D01T00X88UE",
"selfChannel": null,
"userId": "U01MBLHAV8W",
"teamId": "T01MX2YV0GZ"
},
"confirmed": true,
"avatar": "https://secure.gravatar.com/avatar/65608d5f8cf05a3771bef1e690d8ad5f.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
}
}
}
{
"id": "61ba02c983ee7f7313555fc0",
"type": "task_created",
"createdAt": "2021-12-15T14:59:21.785Z",
"updatePatch": {
"assignedTo": [],
"subscribers": [
"4e2a196930fc8294cbc14fc239b012ba"
],
"status": "pending",
"priority": 0,
"platform": "slack",
"attachments": [],
"subTasks": [],
"dependencies": [],
"milestones": [],
"tags": [],
"numberOfComments": 0,
"text": "From socket",
"subListId": "60679b142c894c06acafa706",
"listPosition": 15900000,
"allDay": false,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba",
"listId": "60679b142c894c06acafa707",
"team": "a3252efdd3e6cb2672796408ae58a2f3",
"timeline": [],
"fieldValues": [],
"shortId": "T82M",
"_id": "c52f7c380cd77c374d2ee294b9ca2cde",
"taskStatus": "5c6c2817d4e5d554787af600",
"createdAt": "2021-12-15T14:59:21.761Z",
"updatedAt": "2021-12-15T14:59:21.761Z"
},
"team": {
"id": "a3252efdd3e6cb2672796408ae58a2f3",
"name": "WorkastDevFree",
"url": "https://workastdevfree.beta.hades.tech",
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3",
"domain": "workastdevfree",
"totalTasks": 300,
"status": "active",
"createdAt": "2021-02-09T18:16:57.465Z",
"betaTester": true,
"platformDetails": {
"name": "slack",
"teamId": "T01MX2YV0GZ",
"url": "https://workastdevfree.slack.com/",
"emailDomain": "workast.com"
},
"icon": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0024-132.png"
},
"list": {
"id": "60679b142c894c06acafa707",
"hash": "a23e1af673b887e21bc5d12f179b9692",
"avatar": "",
"name": "Proj 1",
"description": null,
"numberOfParticipants": 5,
"type": "group",
"slug": "proj-1",
"privacy": "team",
"platformDetails": {
"name": "slack",
"channelId": "C01TWQFEMSL",
"channelName": "proj-1",
"type": "group",
"teamId": "T01MX2YV0GZ"
},
"isArchived": false,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba",
"participants": [
"4e2a196930fc8294cbc14fc239b012ba",
"e51e2719a2c10da843de4490a8c9cdc0",
"3d27ac574a7fb460d5f0505c09d8dc7f",
"9a9c9b181d571d36f6dc4650870928f5",
"be4d8b6043fdbc02ac3c3ac3f470c07f"
],
"platformNotifications": {
"taskCreated": true,
"taskCompleted": true
},
"apps": [
"5af007dff36d2837eae6e56c",
"5b23db7ae7179a589282a6a2",
"5c816a44d1f64f00019a9c77"
],
"defaultSubList": "60679b142c894c06acafa706",
"subLists": [
{
"id": "60679b142c894c06acafa706",
"name": "Open tasks",
"listPosition": 100000,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba"
}
],
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3/space/60679b142c894c06acafa707",
"isParticipant": true,
"someParticipants": [
{
"id": "9a9c9b181d571d36f6dc4650870928f5",
"name": "Matias Fito",
"userName": "matias.fito",
"email": "matias@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D023VHFV1S4",
"selfChannel": null,
"userId": "U0235PAPZK4",
"teamId": "T01MX2YV0GZ"
},
"confirmed": false,
"avatar": "https://secure.gravatar.com/avatar/1429be40a8356584ef0b13bb153b170e.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0007-512.png",
"costCenter": "6022d1997893310ad9a1b740"
},
{
"id": "e51e2719a2c10da843de4490a8c9cdc0",
"name": "Julian",
"userName": "julian",
"email": "guillermogette+free@gmail.com",
"platformDetails": {
"name": "slack",
"imChannel": "D0233ETBYSV",
"selfChannel": null,
"userId": "U022QS3C7T4",
"teamId": "T01MX2YV0GZ"
},
"confirmed": true,
"avatar": "https://secure.gravatar.com/avatar/0634b2121fcc86d072fb214c48987088.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-512.png",
"costCenter": "60ff4e2aa76499109f486260"
},
{
"id": "3d27ac574a7fb460d5f0505c09d8dc7f",
"name": "Orland",
"userName": "orland",
"email": "orlando@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D023605JQ1Z",
"selfChannel": null,
"userId": "U023VHG186L",
"teamId": "T01MX2YV0GZ"
},
"confirmed": false,
"avatar": "https://secure.gravatar.com/avatar/4a1c56bb47e26a59dad4c940c2d06c72.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
}
],
"columns": [
"field:6172f6fc6c1110752639614e",
"assignedTo",
"dueDate",
"field:618966f15a62892ab2acf3ac",
"field:618967345a62892ab2acf9be"
],
"groupBy": "subList"
},
"task": {
"id": "c52f7c380cd77c374d2ee294b9ca2cde",
"shortId": "T82M",
"status": "pending",
"subscribers": [
"4e2a196930fc8294cbc14fc239b012ba"
],
"text": "From socket",
"subListId": "60679b142c894c06acafa706",
"listId": "60679b142c894c06acafa707",
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3/task/c52f7c380cd77c374d2ee294b9ca2cde",
"allDay": false,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba",
"assignedTo": []
},
"actor": {
"type": "User",
"id": {
"id": "4e2a196930fc8294cbc14fc239b012ba",
"name": "guillermo",
"userName": "guillermo",
"email": "guillermo@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D01T00X88UE",
"selfChannel": null,
"userId": "U01MBLHAV8W",
"teamId": "T01MX2YV0GZ"
},
"confirmed": true,
"avatar": "https://secure.gravatar.com/avatar/65608d5f8cf05a3771bef1e690d8ad5f.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
}
}
}
{
"id": "61ba18b183ee7f7313556021",
"type": "task_updated",
"createdAt": "2021-12-15T16:32:49.481Z",
"updatePatch": {
"dueDate": "2021-12-17T00:00:00.000Z",
"startDate": null,
"repeat": null,
"allDay": true,
"dueDateTz": "America/Buenos_Aires"
},
"deletePatch": {
"allDay": false
},
"team": {
"id": "a3252efdd3e6cb2672796408ae58a2f3",
"name": "WorkastDevFree",
"url": "https://workastdevfree.beta.hades.tech",
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3",
"domain": "workastdevfree",
"totalTasks": 300,
"status": "active",
"createdAt": "2021-02-09T18:16:57.465Z",
"betaTester": true,
"platformDetails": {
"name": "slack",
"teamId": "T01MX2YV0GZ",
"url": "https://workastdevfree.slack.com/",
"emailDomain": "workast.com"
},
"icon": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0024-132.png"
},
"list": {
"id": "60679b142c894c06acafa707",
"hash": "a23e1af673b887e21bc5d12f179b9692",
"avatar": "",
"name": "Proj 1",
"description": null,
"numberOfParticipants": 5,
"type": "group",
"slug": "proj-1",
"privacy": "team",
"platformDetails": {
"name": "slack",
"channelId": "C01TWQFEMSL",
"channelName": "proj-1",
"type": "group",
"teamId": "T01MX2YV0GZ"
},
"isArchived": false,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba",
"participants": [
"4e2a196930fc8294cbc14fc239b012ba",
"e51e2719a2c10da843de4490a8c9cdc0",
"3d27ac574a7fb460d5f0505c09d8dc7f",
"9a9c9b181d571d36f6dc4650870928f5",
"be4d8b6043fdbc02ac3c3ac3f470c07f"
],
"platformNotifications": {
"taskCreated": true,
"taskCompleted": true
},
"apps": [
"5af007dff36d2837eae6e56c",
"5b23db7ae7179a589282a6a2",
"5c816a44d1f64f00019a9c77"
],
"defaultSubList": "60679b142c894c06acafa706",
"subLists": [
{
"id": "60679b142c894c06acafa706",
"name": "Open tasks",
"listPosition": 100000,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba"
}
],
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3/space/60679b142c894c06acafa707",
"isParticipant": true,
"someParticipants": [
{
"id": "9a9c9b181d571d36f6dc4650870928f5",
"name": "Matias Fito",
"userName": "matias.fito",
"email": "matias@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D023VHFV1S4",
"selfChannel": null,
"userId": "U0235PAPZK4",
"teamId": "T01MX2YV0GZ"
},
"confirmed": false,
"avatar": "https://secure.gravatar.com/avatar/1429be40a8356584ef0b13bb153b170e.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0007-512.png",
"costCenter": "6022d1997893310ad9a1b740"
},
{
"id": "e51e2719a2c10da843de4490a8c9cdc0",
"name": "Julian",
"userName": "julian",
"email": "guillermogette+free@gmail.com",
"platformDetails": {
"name": "slack",
"imChannel": "D0233ETBYSV",
"selfChannel": null,
"userId": "U022QS3C7T4",
"teamId": "T01MX2YV0GZ"
},
"confirmed": true,
"avatar": "https://secure.gravatar.com/avatar/0634b2121fcc86d072fb214c48987088.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0014-512.png",
"costCenter": "60ff4e2aa76499109f486260"
},
{
"id": "3d27ac574a7fb460d5f0505c09d8dc7f",
"name": "Orland",
"userName": "orland",
"email": "orlando@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D023605JQ1Z",
"selfChannel": null,
"userId": "U023VHG186L",
"teamId": "T01MX2YV0GZ"
},
"confirmed": false,
"avatar": "https://secure.gravatar.com/avatar/4a1c56bb47e26a59dad4c940c2d06c72.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
}
],
"columns": [
"field:6172f6fc6c1110752639614e",
"assignedTo",
"dueDate",
"field:618966f15a62892ab2acf3ac",
"field:618967345a62892ab2acf9be"
],
"groupBy": "subList"
},
"task": {
"id": "cde5b7fffa634885b3fd4f0d1e60de67",
"shortId": "TFEC",
"status": "pending",
"dueDateTz": "America/Buenos_Aires",
"subscribers": [
"4e2a196930fc8294cbc14fc239b012ba"
],
"text": "prepare demo presentation",
"subListId": "60679b142c894c06acafa706",
"listId": "60679b142c894c06acafa707",
"link": "https://open.hades.tech/a3252efdd3e6cb2672796408ae58a2f3/task/cde5b7fffa634885b3fd4f0d1e60de67",
"allDay": true,
"dueDate": "2021-12-17",
"startDate": null,
"createdBy": "4e2a196930fc8294cbc14fc239b012ba",
"assignedTo": []
},
"actor": {
"type": "User",
"id": {
"id": "4e2a196930fc8294cbc14fc239b012ba",
"name": "guillermo",
"userName": "guillermo",
"email": "guillermo@workast.com",
"platformDetails": {
"name": "slack",
"imChannel": "D01T00X88UE",
"selfChannel": null,
"userId": "U01MBLHAV8W",
"teamId": "T01MX2YV0GZ"
},
"confirmed": true,
"avatar": "https://secure.gravatar.com/avatar/65608d5f8cf05a3771bef1e690d8ad5f.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0023-512.png",
"costCenter": "60ff4e2aa76499109f486260"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment