Skip to content

Retrieves a list of ticket status.

Request

Security
oauth2
GET
/tickets/status
const instance = 'YOUR_instance_PARAMETER';
const resp = await fetch(
  `https://${instance}.app.willowinc.com/api/v3/tickets/status`,
  {
    method: 'GET',
    headers: {
      Authorization: 'Bearer <YOUR_TOKEN_HERE>'
    }
  }
);

const data = await resp.text();
console.log(data);

Responses

List of ticket status.

Bodyapplication/json
Array [
idstring, (uuid)

Gets or sets the unique identifier for the ticket status.

namenull or string

Gets or sets the name of the ticket status.

tabnull or string

Gets or sets tab can be used to filter ticket status in UI also used to categorize ticket status to Open, Completed or Closed each ticket status, mapped to a Tab value e.g. to determine if ticket is closed we check all status under Closed tab.

colornull or string

Gets or sets the color associated with the ticket status.

locationsArray of strings or null

Gets or sets the location IDs this status is scoped to. An empty list means the status applies to every location.

]
Response
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "tab": null, "color": null, "locations": null } ]