> ## Documentation Index
> Fetch the complete documentation index at: https://docs.series.hr/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Ticket

> Retrieve detailed information about a specific ticket

<Warning>
  **Requires Premium or Enterprise subscription**
</Warning>

## Overview

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

## Path Parameters

<ParamField path="ticketId" type="string" required>
  Ticket ID (can be MongoDB \_id or TicketId)
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Whether the request was successful
</ResponseField>

<ResponseField name="data" type="object">
  <Expandable title="properties">
    <ResponseField name="Ticket" type="object">
      Complete ticket object with all details
    </ResponseField>
  </Expandable>
</ResponseField>

## Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET "https://api.series.hr/tickets/get/TICKET-1234567890-ABCD" \
    -H "apikey: YOUR_API_KEY"
  ```

  ```typescript TypeScript theme={null}
  const response = await fetch('https://api.series.hr/tickets/get/TICKET-1234567890-ABCD', {
    headers: {
      'apikey': 'YOUR_API_KEY'
    }
  });

  const data = await response.json();
  ```

  ```lua Lua (Roblox) theme={null}
  local HttpService = game:GetService("HttpService")

  local response = HttpService:RequestAsync({
      Url = "https://api.series.hr/tickets/get/TICKET-1234567890-ABCD",
      Method = "GET",
      Headers = {
          ["apikey"] = "YOUR_API_KEY"
      }
  })

  local data = HttpService:JSONDecode(response.Body)
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://api.series.hr/tickets/get/TICKET-1234567890-ABCD',
      headers={'apikey': 'YOUR_API_KEY'}
  )

  data = response.json()
  ```
</CodeGroup>

## Response Example

```json theme={null}
{
  "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

<AccordionGroup>
  <Accordion title="403 - Premium Required">
    ```json theme={null}
    {
      "success": false,
      "error": {
        "code": 403,
        "message": "Tickets module requires a Premium or Enterprise subscription"
      }
    }
    ```
  </Accordion>

  <Accordion title="403 - Module Not Enabled">
    ```json theme={null}
    {
      "success": false,
      "error": {
        "code": 403,
        "message": "Tickets module is not enabled for this workspace"
      }
    }
    ```
  </Accordion>

  <Accordion title="404 - Ticket Not Found">
    ```json theme={null}
    {
      "success": false,
      "error": {
        "code": 404,
        "message": "Ticket not found"
      }
    }
    ```
  </Accordion>
</AccordionGroup>

## Rate Limit

**25 requests per second** per API key


## OpenAPI

````yaml GET /tickets/get/{ticketId}
openapi: 3.0.0
info:
  title: Series API
  version: 1.0.0
  description: >-
    Series API — a free REST API by Sailboat Games, LLC that lets Roblox
    communities programmatically manage workspaces, staff, sessions, time-off
    and activity data.
  contact:
    name: Sailboat Games, LLC.
    email: admin@sailboatgames.com
servers:
  - url: https://api.series.hr
    description: Production API
security:
  - ApiKeyAuth: []
paths:
  /tickets/get/{ticketId}:
    get:
      tags:
        - Tickets
      summary: Get ticket details
      description: >-
        Retrieve detailed information about a specific ticket. Requires Premium
        or Enterprise subscription.
      parameters:
        - name: ticketId
          in: path
          required: true
          schema:
            type: string
          description: Ticket ID (MongoDB _id or TicketId)
      responses:
        '200':
          description: Ticket details returned successfully
        '401':
          description: API key is required
        '403':
          description: Tickets module not enabled or Premium required
        '404':
          description: Ticket not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
      description: >-
        Pass your API key in the `apikey` header. Alternatively, the `x-api-key`
        header is also accepted.

````