modl.gg
Developer API

Get Tickets by IDs

Retrieve multiple tickets by their IDs in a single request.

POST /v1/minecraft/tickets/by-ids

Retrieve multiple tickets by providing a list of ticket IDs. This is useful for batch lookups when you need details for several tickets at once.

Authentication

Requires the X-API-Key header with your server's API key.

X-API-Key: your-api-key-here

Request

Headers

HeaderTypeRequiredDescription
X-API-KeystringYesYour server's API key.
Content-TypestringYesMust be application/json.

Body

FieldTypeRequiredDescription
idsstring[]YesArray of ticket IDs to look up (max 100). Must not be empty.
{
  "ids": ["ticket_abc123", "ticket_def456", "ticket_ghi789"]
}

Response

200 OK

{
  "status": 200,
  "tickets": [
    {
      "id": "ticket_abc123",
      "type": "player_report",
      "subject": "Player using fly hacks",
      "status": "open",
      "createdAt": 1699000000000
    },
    {
      "id": "ticket_def456",
      "type": "bug_report",
      "subject": "Block duplication glitch",
      "status": "closed",
      "createdAt": 1699100000000
    }
  ]
}

Error Responses

Status CodeDescription
400Invalid request body or empty IDs list.
401Missing or invalid API key.
429Rate limit exceeded.
500Internal server error.

On this page