Skip to main content
GET
/
tickets
/
get
/
{ticketId}
Get ticket details
curl --request GET \
  --url https://api.series.hr/tickets/get/{ticketId} \
  --header 'apikey: <api-key>'
Requires Premium or Enterprise subscription

Overview

Retrieve detailed information about a specific ticket, including all messages, claim status, and game report information if applicable.

Path Parameters

ticketId
string
required
Ticket ID (can be MongoDB _id or TicketId)

Response

success
boolean
Whether the request was successful
data
object

Example

curl -X GET "https://api.series.hr/tickets/get/TICKET-1234567890-ABCD" \
  -H "apikey: YOUR_API_KEY"

Response Example

{
  "success": true,
  "data": {
    "Ticket": {
      "_id": "...",
      "TicketId": "TICKET-1234567890-ABCD",
      "Subject": "Help with ranking",
      "Category": "support",
      "Department": "support-dept",
      "Status": "in-progress",
      "Priority": "high",
      "Author": {
        "UserId": 123456789,
        "Username": "player123",
        "DisplayName": "Player Name",
        "AvatarUrl": "https://..."
      },
      "Content": {
        "msj_1234567890_abc123": {
          "Content": "I need help with my rank",
          "Author": 123456789,
          "Type": "author_message",
          "Timestamp": "2025-01-15T10:30:00.000Z"
        }
      },
      "ClaimedBy": 987654321,
      "ClaimedByUser": {
        "UserId": 987654321,
        "DisplayName": "Staff Member",
        "Username": "staff123"
      },
      "GameReport": false,
      "CreatedAt": "2025-01-15T10:30:00.000Z",
      "UpdatedAt": "2025-01-15T11:45:00.000Z"
    }
  }
}

Error Responses

{
  "success": false,
  "error": {
    "code": 403,
    "message": "Tickets module requires a Premium or Enterprise subscription"
  }
}
{
  "success": false,
  "error": {
    "code": 403,
    "message": "Tickets module is not enabled for this workspace"
  }
}
{
  "success": false,
  "error": {
    "code": 404,
    "message": "Ticket not found"
  }
}

Rate Limit

25 requests per second per API key

Authorizations

apikey
string
header
required

Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.

Path Parameters

ticketId
string
required

Ticket ID (MongoDB _id or TicketId)

Response

Ticket details returned successfully