Skip to main content
GET
/
tickets
List tickets
curl --request GET \
  --url https://rdp.sh/api/v1/tickets \
  --header 'Authorization: <api-key>'
[
  {
    "id": 123,
    "title": "<string>",
    "status": "<string>",
    "priority": "<string>",
    "server_id": 123,
    "created_at": "<string>",
    "updated_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Response

200 - application/json

Tickets retrieved successfully.

id
integer
Example:

1

title
string
Example:

"Server not responding"

status
string
Examples:

"open"

"closed"

priority
string
Examples:

"normal"

"emergency"

"low"

server_id
integer | null
Example:

123

created_at
string
Example:

"2024-01-28T10:00:00.000000Z"

updated_at
string
Example:

"2024-01-28T12:30:00.000000Z"