Skip to main content
GET
/
v2
/
tickets
List Tickets
curl --request GET \
  --url https://public.api.serval.com/v2/tickets \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "friendlyIdentifier": "<string>",
      "teamId": "<string>",
      "name": "<string>",
      "description": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "completedAt": "2023-11-07T05:31:56Z",
      "escalatedAt": "2023-11-07T05:31:56Z",
      "createdByUserId": "<string>",
      "assignedToUserId": "<string>",
      "requesterUserId": "<string>",
      "statusId": "<string>",
      "escalationLevel": "AI",
      "priorityId": "<string>",
      "slaStartedAt": "2023-11-07T05:31:56Z",
      "slaBreachesAt": "2023-11-07T05:31:56Z",
      "labelIds": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

teamId
string
startTime.seconds

Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

startTime.nanos
integer

Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.

Response

Success

data
Ticket · object[]