Ticket Part

A Ticket Part represents a message in the ticket.

type
string

Always ticket_part

id
string

The id representing the ticket part.

part_type
string

The type of ticket part.

body
string or null

The message body, which may contain HTML.

previous_ticket_state
string

The previous state of the ticket.

Enum: "submitted" "in_progress" "waiting_on_customer" "resolved"
ticket_state
string

The state of the ticket.

Enum: "submitted" "in_progress" "waiting_on_customer" "resolved"
created_at
integer <date-time>

The time the ticket part was created.

updated_at
integer <date-time>

The last time the ticket part was updated.

object (Reference)

reference to another object

object (Ticket part author)

The author that wrote or triggered the part. Can be a bot, admin, team or user.

Array of objects (Ticket part attachments)

A list of attachments for the part.

external_id
string or null

The external id of the ticket part

redacted
boolean

Whether or not the ticket part has been redacted.

{ "type": "ticket_part", "id": "3", "part_type": "comment", "body": "<p>Okay!</p>", "previous_ticket_state": "submitted", "ticket_state": "submitted", "created_at": 1663597223, "updated_at": 1663597260, "assigned_to": { "type": "contact", "id": "1a2b3c" }, "author": { "type": "admin", "id": "274", "name": "Operator", "email": "operator+abcd1234@intercom.io" }, "attachments": [ ], "external_id": "abcd1234", "redacted": false }