modl.gg

Create Ticket

Create a new support ticket.

POST /v1/minecraft/tickets

Create a new support ticket on behalf of a player. Tickets can be used for player reports, bug reports, staff requests, appeals, and general support.

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
creatorUuidstringYesThe UUID of the player creating the ticket.
creatorNamestringNoThe username of the player creating the ticket.
typestringYesThe ticket type. One of: player, chat, staff, bug, support, appeal.
subjectstringNoA brief subject line for the ticket.
descriptionstringNoA detailed description of the issue.
reportedPlayerUuidstringNoThe UUID of the reported player (for player and chat type tickets).
reportedPlayerNamestringNoThe username of the reported player.
chatMessagesstring[]NoArray of JSON-encoded chat message objects (for chat type tickets).
tagsstring[]NoArray of tags to categorize the ticket.
prioritystringNoThe ticket priority. One of: low, normal, high. Defaults to normal.
{
  "creatorUuid": "550e8400-e29b-41d4-a716-446655440000",
  "creatorName": "Notch",
  "type": "player",
  "subject": "Player using fly hacks",
  "description": "Observed player flying in survival mode near spawn.",
  "reportedPlayerUuid": "660e8400-e29b-41d4-a716-446655440001",
  "reportedPlayerName": "Hacker123",
  "tags": ["cheating", "fly"],
  "priority": "high"
}

Response

200 OK

{
  "success": true,
  "ticketId": "ticket_abc123"
}

Error Responses

Status CodeDescription
400Invalid request body. Missing required fields or invalid ticket type/priority.
401Missing or invalid API key.
429Rate limit exceeded.
500Internal server error.

On this page