modl.gg

Create Unfinished Ticket

Create a draft ticket for later completion.

POST /v1/minecraft/tickets/unfinished

Create a draft (unfinished) ticket that can be completed later. This is useful when a player begins creating a ticket in-game but does not finish the process, allowing them to resume later.

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.
typestringNoThe 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.
reportedPlayerNamestringNoThe username of the reported player.
chatMessagesstring[]NoArray of JSON-encoded chat message objects.
tagsstring[]NoArray of tags to categorize the ticket.
prioritystringNoThe ticket priority. One of: low, normal, high.
{
  "creatorUuid": "550e8400-e29b-41d4-a716-446655440000",
  "creatorName": "Notch",
  "type": "bug",
  "subject": "Redstone not working"
}

Response

200 OK

{
  "success": true,
  "ticketId": "ticket_draft_abc123",
  "message": "Draft ticket created successfully."
}

Error Responses

Status CodeDescription
400Invalid request body. Missing creator UUID or invalid field values.
401Missing or invalid API key.
429Rate limit exceeded.
500Internal server error.

On this page