GET
/
v1
/
teams
/
{team_id}
/
tickets
List Tickets
curl --request GET \
  --url https://public.api.serval.com/v1/teams/{team_id}/tickets \
  --header 'Authorization: Bearer <token>'
{
  "tickets": [
    {
      "id": "<string>",
      "friendlyIdentifier": "<string>",
      "forTeam": {
        "id": "<string>",
        "name": "<string>"
      },
      "name": "<string>",
      "description": "<string>",
      "createdAt": "1s",
      "completedAt": "1s",
      "escalatedAt": "1s",
      "createdByUser": {
        "id": "<string>",
        "email": "<string>"
      },
      "assignedToUser": {
        "id": "<string>",
        "email": "<string>"
      },
      "status": {
        "id": "<string>",
        "teamId": "<string>",
        "statusGroup": "TICKET_STATUS_GROUP_UNSPECIFIED",
        "name": "<string>",
        "description": "<string>",
        "isDefault": true
      },
      "escalationLevel": "AI",
      "priority": {
        "id": "<string>",
        "teamId": "<string>",
        "priority": "TICKET_PRIORITY_UNSPECIFIED",
        "description": "<string>"
      },
      "slaStartedAt": "1s",
      "slaBreachesAt": "1s",
      "labels": [
        {
          "id": "<string>",
          "teamId": "<string>",
          "name": "<string>",
          "description": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

team_id
string
required

The ID of the Serval team to get tickets for.

Query Parameters

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

200
application/json

Success

The response is of type object.