Skip to Content
MinexonMinexon

support.reply

Posts a reply with optional attachments to a support ticket.

POST/api/v1/{locale}/support/tickets/{id}/reply

API scope support.reply

Request

Send Authorization: Bearer <key> with each request.

Requires a signed-in player and applicable permission.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.
idintegerRequiredIdentifier of the requested resource or file.

Request body

FieldTypeRequirementDescription
messagestringRequiredPlain-text or HTML message.
body_formatstringOptionalUse html to submit rich text.
_submissionstringRequiredThe form’s submission value. Preserve it when retrying the same submission.
attachmentsfile[]OptionalSend attachments as attachments[] in a multipart request.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request POST \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  -H 'Content-Type: application/json' \
  --data '{
  "message": "The connection timed out while opening the survival world.",
  "body_format": "text",
  "_submission": "<submission from GET>"
}' \
  "${MINEXON_BASE_URL}/api/v1/en/support/tickets/42/reply"

Request with a file

curl --fail-with-body --request POST \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  -b "$MINEXON_COOKIE_JAR" -c "$MINEXON_COOKIE_JAR" \
  --form-string 'message=The connection timed out while opening the survival world.' \
  --form-string body_format=text \
  --form-string '_submission=<submission from GET>' \
  --form 'attachments[][email protected]' \
  "${MINEXON_BASE_URL}/api/v1/en/support/tickets/42/reply"

Response

HTTP 200 · application/json

FieldTypeRequirementDescription
nextstringRequiredURL of the next player page.
noticesarrayConditionalOperation notice codes, when present.
errorstringConditionalError code.
errorsstring[]ConditionalField or operation error codes.
{
  "next": "/en/support/42"
}

When the form is shown again, the response can contain data instead of next. Check the HTTP status and the error fields together.

Form response fields
FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
ticketJSON valueConditionalValue determined by screen and configuration.
treeJSON valueConditionalValue determined by screen and configuration.
attachmentLimitsobjectConditionalFile count and file size limits.
activeCountintegerConditionalNumber of active tickets for the player.
activeLimitintegerConditionalOpen-ticket limit per player.
submissionstringConditionalSubmit as _submission for the same form.
messageLimitintegerConditionalTicket message length limit.
ticket.messages[].bodystringConditionalMessage in plain text.
ticket.messages[].body_htmlstring or nullConditionalFormatted message content, when present.
ticket.messages[].attachmentsarrayConditionalAttachment identifiers and names.
attachmentLimits.bytesintegerConditionalByte limit per attachment.
attachmentLimits.countintegerConditionalAttachment limit per message.

Flow and error cases

Validation errors return HTTP 422 with a form view containing data.errors.

Shared error and authentication contract