WebHooks

How Suptask can trigger a WebHook

Suptask can trigger a HTTPS Webhook request to an endpoint of your choice when certain events are occuring in Suptask.

Events

  • Created Ticket

  • Updated Ticket

  • New Reply/Comment on a Ticket

Sample event data

You can find sample data below with the current structure of the WebHook request.

Created

{
    "ticket": {
        "ticketNumber": "42",
        "teamTicketId": "zenithops-42",
        "followers": {},
        "teamName": "Zenith Corp",
        "queueId": "a73ee310-c1fe-4abc-9374-82d8d123a9fc",
        "formId": "f71dd3b1-6f43-4f1f-a832-d1bd4c7ed9b7",
        "messageResponderId": "2850112358.998112",
        "status": "OPEN",
        "messageRequesterId": "2850048932.761432",
        "updatedBy": "U01XZGTRPL8",
        "messageResponderCount": 0,
        "teamId": "T02ZXY1B2MN",
        "createdBy": "U01XZGTRPL8",
        "requesterId": "U01MLKU9XZB",
        "isCollaborationTicket": false,
        "archived": false,
        "messageLastRequesterTime": 2850112357,
        "id": "b2e41bde-78c2-4c09-bf6d-0b37a12e50fc",
        "isSlackConnect": false,
        "tags": [],
        "messageLastRespondTime": 2850112357,
        "teamDomain": "zenithops",
        "__typename": "Ticket",
        "requesterTicketPermalink": "https://zenithops.slack.com/archives/C09JH1RMXTY/p2850048932761432?thread_ts=2850036102.054312&cid=C09JH1RMXTY",
        "messageRequesterCount": 0,
        "assignee": "UNASSIGNED",
        "responderTicketPermalink": "https://zenithops.slack.com/archives/C09JK2D3JQZ/p2850112358998112",
        "createdAt": 2850112357,
        "attachments": [],
        "messageRequesterChannel": "C09JH1RMXTY",
        "source": "slack",
        "formValues": [
            {
                "value": "Review the new AI models submitted yesterday",
                "fieldName": "description"
            },
            {
                "value": "Deeplogix",
                "fieldName": "organization"
            },
            {
                "value": "OPEN",
                "fieldName": "status"
            }
        ],
        "summaryTitle": null,
        "messageResponderChannel": "C09JK2D3JQZ",
        "messages": [],
        "updatedAt": 2850112357,
        "summarySolution": null,
        "summaryProblem": null,
        "description": "Review the new AI models submitted yesterday",
        "approvers": {}
    },
    "displayFields": {
        "assignees": [],
        "requester": [
            {
                "id": "U01MLKU9XZB",
                "displayName": "Jordan Mendes"
            }
        ],
        "descriptionUserMap": {},
        "organization": "Deeplogix"
    }
}

Updated

New Reply/Comment

Last updated

Was this helpful?