List all Tickets

List all Help Desk tickets by passing the person ID, account ID, and/or other parameters
Help Desk
List all Tickets
 last updated: 
August 16, 2022

When retrieving tickets, you'll need to pass the sd-api-key and sd-dashboard-user-email in the header.

ENDPOINT

  1. GET /v1/ticket

FILTERS

The table below describes various filters that can be passed as query parameters to narrow the response.

Filter Type Description
offset int start index (default = 0)
limit int number of records to return (default = 25, max = 100)
personId string person ID
accountId string account ID
status enum open, pending, hold, solved, closed


RESPONSE

  1. {
  2.   "total": "7",
  3.   "data": [
  4.     {
  5.       "id": "18542",
  6.       "subject": "Message from Justin Testin",
  7.       "description": "testing the answer bot",
  8.       "status": "closed",
  9.       "type": "tasks",
  10.       "priority": "",
  11.       "canBeSolved": false,
  12.       "createdAt": "2022-06-28T22:51:41Z",
  13.       "modifiedAt": "2022-07-06T21:01:58Z",
  14.       "latestComment": null,
  15.       "cc": [],
  16.       "accountId": "",
  17.       "personId": "",
  18.       "mode": ""
  19.     },
  20.     {
  21.       "id": "15340",
  22.       "subject": "Testing updating a ticket via API",
  23.       "description": "Testing updating a ticket via API",
  24.       "status": "closed",
  25.       "type": "tasks",
  26.       "priority": "normal",
  27.       "canBeSolved": false,
  28.       "createdAt": "2022-06-16T22:09:07Z",
  29.       "modifiedAt": "2022-06-23T23:01:20Z",
  30.       "latestComment": null,
  31.       "cc": [],
  32.       "accountId": "",
  33.       "personId": "",
  34.       "mode": "test"
  35.     }
  36.   ]
  37. }