Ticket

Example

{
	"id": 255762,
	"title": "New car price list.",
	"message": "Hello I want to buy a new car, how can I get a price list?",
	"htmlMessage": "<div id=\"sb-message-8dbf66986449599\" class=\"sb-html-message\">Hello I want to buy a new car, how can I get a price list?</div>",
	"author": {
		"email": "bill_smith@gmail.com",
		"id": "3561ab34-b6bd-4998-97e6-4ad5a58a89e8",
		"image": null,
		"isBot": false,
		"name": "Bill Smith",
		"status": "client"
	},
	"category": null,
	"creationTime": "2023-12-06T17:42:07.7888252+03:00",
	"lastThreadElementCreationTime": "2023-12-06T17:42:07.7888252+03:00",
	"lockedBy": null,
	"originalLink": null,
	"properties": {
		"isAnonymized": false,
		"isMuted": false,
		"hasAttachments": true,
		"hasDraft": false,
		"isAssignedToBot": false,
		"isDeleted": false,
		"isExpired": false,
		"isHidden": false,
		"isLocked": false,
		"isSpam": false,
		"isSensitive": false
	},
	"replyCount": 0,
	"isMuted": false,
	"sentiment": "question",
	"source": "web",
	"detailedSource": "web_website",
	"sourceName": null,
	"status": "open",
	"tags": [],
	"attachments": [
		{
			"isContentPart": false,
			"name": "filename.png",
			"url": "https://your.attachment.url/filename.png"
		}
	]
}

Fields

FieldTypeComments

attachments

array of Base Attachment models

Ticket attachments

author

User model

Ticket creator

category

Category model

Ticket category. If null ticket has no category

creationTime

string

Indicates the time when the ticket was created. Represent datetime string in ISO 8601 format

detailedSource

Indicates detailed ticket source

htmlMessage

string

Ticket html content

id

integer

Unique ticket id

lastThreadElementCreationTime

string

Indicates the time when the most recent element in a thread was created. Represent datetime string in ISO 8601 format

lockedBy

User model

Teammate who assigned to the ticket

message

string

Ticket text content

originalLink

string

Permanent link or URL to the post if ticket created from SoMe source; if not, will be null

replyCount

integer

Indicates the total count of replies in the ticket

properties

Properties or attributes associated with a ticket

sentiment

Sentiment enumeration

Ticket sentiment

source

Ticket Source enumeration

Indicates general ticket source

sourceName

string

Indicates the specific source where ticket from (e.g., page post, mention, group post, review, etc)

status

Ticket Status enumeration

Current ticket status

tags

array of strings

Attached ticket tags

title

string

Ticket title

Last updated