Suptask API
Learn how to use and integrate with the Suptask API
Overview
Suptask offers an open API that enables you to integrate programmatically and automate your ticketing process.
API Definition
Review the OpenAPI v3 definition below.
A detailed description of the ticket.
User has lost access to his account.
The priority of the ticket.
CRITICAL
The current status of the ticket.
Open
The user Slack member ID assigned to the ticket.
U132FRJPTER
The requester Slack member ID of the ticket.
U073PBJPHGW
One of the Slack channel IDs which are assigned to form.
C076K6Y74L1
Tags associated with the ticket.
bug
Identifier UUID for the form used to submit the ticket. Fetched from the Web url when editing a form.
96d140f8-bd0f-4b46-a115-c19e090bb79c
POST /ticket HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 338
{
"description": "User has lost access to his account.",
"priority": "CRITICAL",
"status": "Open",
"assignee": "U132FRJPTER",
"requester": "U073PBJPHGW",
"customFields": [
{
"fieldId": "9682a666-b6b2-4f5e-833d-cb4430799317",
"value": "High Business Impact"
}
],
"requesterChannel": "C076K6Y74L1",
"tags": [
"bug"
],
"formId": "96d140f8-bd0f-4b46-a115-c19e090bb79c"
}
{
"ticketId": "758e6b65-b4ec-4a03-a15a-9d44ac88e093"
}
The unique ID of the ticket to update.
A detailed description of the ticket.
Updated issue details.
The priority of the ticket.
Medium
The current status of the ticket.
Closed
The user Slack member ID assigned to the ticket.
U132FRJPTER
The requester Slack member ID of the ticket.
U073PBJPHGW
One of the Slack channel IDs which are assigned to form.
C076K6Y74L1
Tags associated with the ticket.
bug
PATCH /ticket/{ticketId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 276
{
"description": "Updated issue details.",
"priority": "Medium",
"status": "Closed",
"assignee": "U132FRJPTER",
"requester": "U073PBJPHGW",
"customFields": [
{
"fieldId": "9682a666-b6b2-4f5e-833d-cb4430799317",
"value": "High Business Impact"
}
],
"requesterChannel": "C076K6Y74L1",
"tags": [
"bug"
]
}
No content
The UUID of the ticket to delete.
758e6b65-b4ec-4a03-a15a-9d44ac88e093
DELETE /ticket/{ticketId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No content
The unique UUID of the Suptask ticket to associate with an external ticket.
The ID of the external ticket.
EXT-123
The type of integration (e.g., "Jira", "Zendesk").
Jira
The URL of the external ticket.
https://jira.example.com/browse/EXT-123
POST /ticket/external/{ticketId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 145
{
"externalId": "EXT-123",
"integrationType": "Jira",
"url": "https://jira.example.com/browse/EXT-123",
"data": {
"team_ref": "H34211",
"crm_id": "ID42298"
}
}
{
"success": true,
"message": "External ticket associated successfully."
}
The unique UUID of the Suptask ticket.
The reply message text
We are working on your ticket.
The displayed username of the reply text.
Greg McDonald
Select between Requester (public reply) and/or Responder (internal comment reply) channel.
["requester", "responder"]
POST /ticket/reply/{ticketId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"text": "We are working on your ticket.",
"username": "Greg McDonald",
"channel": "[\"requester\", \"responder\"]"
}
{
"success": true,
"message": "Reply message sent successfully"
}
Request API access
The API requires a valid API token in order to authenticate to the API.
How to retrieve values for the API
Retrieve the Form ID
Retrieve the Form ID by opening up the Form from your Inbox and edit it. From the URL you can get the Form ID which is in a UUID format:

Retrieve the field ID
Every created field in your Suptask account have a unique ID that can be retrieved from the Manage fields page by editing the field. The field ID is in a UUID format and be retried from the URL:

Retrieve the user Slack member ID
Last updated
Was this helpful?