Upload attachments to support tickets

Upload files as attachments to your support tickets, such as screenshots or log files, to help the support team resolve your issue faster. The API returns information about the uploaded file, including its URL and a unique key.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/upload/support-attachment
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/upload/support-attachment" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "url": "string",
    "key": "string",
    "fileName": "string",
    "originalName": "string",
    "size": 0,
    "mimeType": "string",
    "verified": true,
    "uploadedAt": "string"
  }
}