Account

Get a support ticket

Returns one of your tickets with its replies and attachments. Requires a paid plan (Builder or above).

Requires an API key belonging to a user account. Acts on the calling account's own data.

get/v1/me/support/{ticketId}

Request

  • Base URL: https://api.gunspec.io
  • URL: https://api.gunspec.io/v1/me/support/{ticketId}
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

ticketIdstring required

Support ticket id

Response

Get a support ticket

successboolean required

Always true on a successful response. Every error carries false and an error object instead.

Example response

{
  "success": true,
  "data": {
    "id": "d3f1c2a0-5b7e-4c1a-9f2d-6e8b3a4c7d10",
    "subject": "Cannot generate an API key",
    "category": "technical",
    "reply_count": 2,
    "created_at": "2026-08-23T02:00:00.000Z",
    "replies": [
      {
        "id": 12,
        "ticket_id": "d3f1c2a0-5b7e-4c1a-9f2d-6e8b3a4c7d10",
        "user_id": "u_...",
        "message": "Still happening on the latest build.",
        "created_at": "2026-08-23T02:00:00.000Z"
      }
    ],
    "attachments": [
      {
        "id": 3,
        "ticket_id": "d3f1c2a0-5b7e-4c1a-9f2d-6e8b3a4c7d10",
        "user_id": "u_...",
        "file_name": "screenshot.png",
        "file_key": "tickets/d3f1c2a0/3.png",
        "file_size": 48213,
        "mime_type": "image/png",
        "created_at": "2026-08-23T02:00:00.000Z"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.