Suger

create support ticket comment

POST https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/comment

create support ticket comment

Parameters

NameInTypeRequiredDescription
orgId path string yes Organization ID
ticketId path string yes Ticket ID

Request Body

Required. Content-Type: application/json · Schema: SupportTicketComment

SupportTicketComment fields:

FieldTypeRequiredDescription
comment array<SupportTicketCommentDetail> no
comment_text string no When creating a new comment, only CommentText is required.
creator SupportTicketUser no
date string no
id string no

SupportTicketCommentDetail fields:

FieldTypeRequiredDescription
attachment SupportTicketAttachment no
frame SupportTicketFrame no
image SupportTicketImage no
text string no
type string no

SupportTicketUser fields:

FieldTypeRequiredDescription
email string no
id string no The Suger user ID.
isSugerEmployee boolean no Whether the user is a Suger employee.
profilePicture string no
username string no

SupportTicketAttachment fields:

FieldTypeRequiredDescription
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

SupportTicketFrame fields:

FieldTypeRequiredDescription
id string no
url string no

SupportTicketImage fields:

FieldTypeRequiredDescription
extension string no
id string no
name string no
thumbnail_large string no
thumbnail_medium string no
thumbnail_small string no
title string no
type string no
url string no

Responses

200 — OK

Content-Type: application/json · Schema: SupportTicketComment

SupportTicketComment fields:

FieldTypeRequiredDescription
comment array<SupportTicketCommentDetail> no
comment_text string no When creating a new comment, only CommentText is required.
creator SupportTicketUser no
date string no
id string no

SupportTicketCommentDetail fields:

FieldTypeRequiredDescription
attachment SupportTicketAttachment no
frame SupportTicketFrame no
image SupportTicketImage no
text string no
type string no

SupportTicketUser fields:

FieldTypeRequiredDescription
email string no
id string no The Suger user ID.
isSugerEmployee boolean no Whether the user is a Suger employee.
profilePicture string no
username string no

SupportTicketAttachment fields:

FieldTypeRequiredDescription
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

SupportTicketFrame fields:

FieldTypeRequiredDescription
id string no
url string no

SupportTicketImage fields:

FieldTypeRequiredDescription
extension string no
id string no
name string no
thumbnail_large string no
thumbnail_medium string no
thumbnail_small string no
title string no
type string no
url string no

400 — Bad request error

Content-Type: application/json

500 — Internal server error

Content-Type: application/json


View as Markdown · Interactive API reference

Spotted something wrong or out of date on this page? Tell us and we'll correct it.