support.reply
Posts a reply with optional attachments to a support ticket.
POST
/api/v1/{locale}/support/tickets/{id}/replyAPI scope support.reply
Request
Send Authorization: Bearer <key> with each request.
Requires a signed-in player and applicable permission.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
id | integer | Required | Identifier of the requested resource or file. |
Request body
| Field | Type | Requirement | Description |
|---|---|---|---|
message | string | Required | Plain-text or HTML message. |
body_format | string | Optional | Use html to submit rich text. |
_submission | string | Required | The form’s submission value. Preserve it when retrying the same submission. |
attachments | file[] | Optional | Send 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
| Field | Type | Requirement | Description |
|---|---|---|---|
next | string | Required | URL of the next player page. |
notices | array | Conditional | Operation notice codes, when present. |
error | string | Conditional | Error code. |
errors | string[] | Conditional | Field 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
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
ticket | JSON value | Conditional | Value determined by screen and configuration. |
tree | JSON value | Conditional | Value determined by screen and configuration. |
attachmentLimits | object | Conditional | File count and file size limits. |
activeCount | integer | Conditional | Number of active tickets for the player. |
activeLimit | integer | Conditional | Open-ticket limit per player. |
submission | string | Conditional | Submit as _submission for the same form. |
messageLimit | integer | Conditional | Ticket message length limit. |
ticket.messages[].body | string | Conditional | Message in plain text. |
ticket.messages[].body_html | string or null | Conditional | Formatted message content, when present. |
ticket.messages[].attachments | array | Conditional | Attachment identifiers and names. |
attachmentLimits.bytes | integer | Conditional | Byte limit per attachment. |
attachmentLimits.count | integer | Conditional | Attachment limit per message. |
Flow and error cases
Validation errors return HTTP 422 with a form view containing data.errors.