Create Support Ticket Attachment
POST https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/attachment
create support ticket attachment
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
ticketId | path | string | yes | Ticket ID |
Request Body
Required. Content-Type: application/x-www-form-urlencoded, multipart/form-data · Schema: string
Responses
200 — OK
Content-Type: application/json
SupportTicketAttachment fields:
| Field | Type | Required | Description |
|---|---|---|---|
date | string | no | |
id | string | no | |
mimetype | string | no | |
size | integer | no | |
thumbnail_large | string | no | |
thumbnail_medium | string | no | |
thumbnail_small | string | no | |
title | string | no | |
url | string | no |
400 — Bad request error
Content-Type: application/json
500 — Internal server error
Content-Type: application/json
Example
Generated from this operation's schema. Values are placeholders —
substitute your own ids, and set SUGER_TOKEN to a bearer token
from the OAuth client-credentials exchange.
Request
curl -X POST 'https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/attachment' \
-H "Authorization: Bearer $SUGER_TOKEN" \
-H 'Content-Type: application/json' \
-d '"string"' Response — 200
[
{
"date": "2026-01-31T12:00:00Z",
"id": "01H0000000000000000000",
"mimetype": "string",
"size": 1,
"thumbnail_large": "string",
"thumbnail_medium": "string",
"thumbnail_small": "string",
"title": "string",
"url": "https://example.com"
}
] Error — 400
"string" View as Markdown · API reference overview
Spotted something wrong or out of date on this page? Tell us and we'll correct it.