List requests
GET/v1/ticketsScope read
Requests of the workspace, most recently created first. Combine filters to narrow the list, and use updatedSince to sync only what changed since your last read.
Query parameters
Section titled “Query parameters”| Name | Type | Description |
|---|---|---|
page |
integer |
Page to return, from 1. At least 1. Default: 1. |
perPage |
integer |
Items per page. From 1 to 100. Default: 25. |
status |
string |
Only requests in these status codes, comma-separated. See List statuses. Comma-separated list. |
priority |
string |
Only requests with these priority codes, comma-separated. Comma-separated list. One of low, medium, high, critical, planned. |
serviceId |
integer |
Only requests of this service. |
contactEmail |
string |
Only requests of this contact. Up to 320 characters. An email address. |
q |
string |
Text to find in the request number or subject. Up to 120 characters. |
createdFrom |
string |
Only requests created at or after this time. RFC 3339 date and time, such as 2026-12-06T10:00:00Z. |
createdTo |
string |
Only requests created before this time. RFC 3339 date and time, such as 2026-12-06T10:00:00Z. |
updatedSince |
string |
Only requests changed at or after this time. Use it to sync incrementally. RFC 3339 date and time, such as 2026-12-06T10:00:00Z. |
Response
Section titled “Response”200 OK · data[] + pagination
| Field | Type | Description |
|---|---|---|
channel |
string |
Where the request came from: api, portal, email… |
closedAt |
date-time |
When the request was closed. |
closureCode |
string |
Closure code, recorded when it was closed. |
contact |
object |
Who the request is for. |
contact.departmentId |
integer |
Department, from List departments. |
contact.email |
string |
Email address. Duty notifies this contact about the request. |
contact.locationId |
integer |
Location, from List locations. |
contact.name |
string |
Full name. |
contact.phone |
string |
Phone number. |
createdAt |
date-time |
When it was created. |
description |
string |
Description. |
firstResponseAt |
date-time |
When an agent first responded. |
impact |
integer |
How many people or how much business it affects, from 1 (low) to 3 (high). |
impactTags |
string[] |
Business impact markers: executive, regulatory, financial, security, continuity. |
number |
string |
Request number, such as GM-000123. Unique within the organization. |
pendingPriority |
object |
Priority raise waiting for a supervisor’s approval. |
pendingPriority.code |
string |
Requested priority code. |
pendingPriority.name |
string |
Requested priority name. |
priority |
object |
Current priority. |
priority.code |
string |
Priority code: low, medium, high, critical or planned. |
priority.name |
string |
Priority name. |
resolution |
string |
The solution applied, recorded when it was resolved. |
resolutionDueAt |
date-time |
Deadline for the resolution, from the service level agreement. |
resolvedAt |
date-time |
When the request was resolved. |
responseDueAt |
date-time |
Deadline for the first response, from the service level agreement. |
service |
object |
Service of the catalog the request belongs to. |
service.id |
integer |
Service ID. |
service.name |
string |
Service name. |
status |
object |
Current status. |
status.code |
string |
Status code, such as in_progress. |
status.name |
string |
Status name. |
subject |
string |
Short summary of the request. |
updatedAt |
date-time |
When it last changed. |
urgency |
integer |
How soon it needs attention, from 1 (low) to 3 (high). |
{ "data": [ { "number": "GM-000123", "subject": "VPN disconnects every few minutes", "description": "Since this morning the VPN drops every 5 to 10 minutes for the whole sales team.", "status": { "code": "in_progress", "name": "In progress" }, "priority": { "code": "high", "name": "High" }, "impact": 3, "urgency": 2, "impactTags": [ "continuity" ], "channel": "api", "service": { "id": 12, "name": "VPN and remote access" }, "contact": { "name": "Ana Pérez", "email": "ana.perez@example.com", "phone": "+1 809 555 0142", "departmentId": 4, "locationId": 2 }, "responseDueAt": "2026-12-06T15:05:00Z", "resolutionDueAt": "2026-12-06T22:05:00Z", "firstResponseAt": "2026-12-06T14:21:00Z", "createdAt": "2026-12-06T14:05:00Z", "updatedAt": "2026-12-06T14:21:00Z" } ], "pagination": { "page": 1, "perPage": 25, "total": 1, "totalPages": 1 }}Errors
Section titled “Errors”Errors share one shape; see Errors for every key.
Code examples
Section titled “Code examples”curl 'https://api.client.service-desk.goldmaster.io/v1/tickets?perPage=10&status=open%2Cin_progress' \ -H "Authorization: Bearer $DUTY_API_KEY"const response = await fetch('https://api.client.service-desk.goldmaster.io/v1/tickets?perPage=10&status=open%2Cin_progress', { method: 'GET', headers: { Authorization: `Bearer ${process.env.DUTY_API_KEY}`, },});const body = await response.json();if (!response.ok) throw new Error(`${body.error}: ${body.message}`);console.log(body.data);import os
import requests
response = requests.request( "GET", "https://api.client.service-desk.goldmaster.io/v1/tickets?perPage=10&status=open%2Cin_progress", headers={"Authorization": f"Bearer {os.environ['DUTY_API_KEY']}"}, timeout=30,)response.raise_for_status()print(response.json()["data"])package main
import ( "fmt" "io" "net/http" "os")
func main() { req, _ := http.NewRequest("GET", "https://api.client.service-desk.goldmaster.io/v1/tickets?perPage=10&status=open%2Cin_progress", nil) req.Header.Set("Authorization", "Bearer "+os.Getenv("DUTY_API_KEY")) res, err := http.DefaultClient.Do(req) if err != nil { panic(err) } defer res.Body.Close() data, _ := io.ReadAll(res.Body) fmt.Println(res.Status, string(data))}<?php$ch = curl_init('https://api.client.service-desk.goldmaster.io/v1/tickets?perPage=10&status=open%2Cin_progress');curl_setopt_array($ch, [ CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => [ 'Authorization: Bearer ' . getenv('DUTY_API_KEY'), ],]);$response = curl_exec($ch);$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);echo $status, PHP_EOL, $response;using System.Net.Http.Headers;
using var client = new HttpClient();using var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.client.service-desk.goldmaster.io/v1/tickets?perPage=10&status=open%2Cin_progress");request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("DUTY_API_KEY"));using var response = await client.SendAsync(request);Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");import java.net.URI;import java.net.http.*;
HttpClient client = HttpClient.newHttpClient();HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.client.service-desk.goldmaster.io/v1/tickets?perPage=10&status=open%2Cin_progress")) .header("Authorization", "Bearer " + System.getenv("DUTY_API_KEY")) .method("GET", HttpRequest.BodyPublishers.noBody()) .build();var response = client.send(request, HttpResponse.BodyHandlers.ofString());System.out.println(response.statusCode() + " " + response.body());