# Reply

#### **Example**

```json
{
	"data": {
		"attachments": [],
		"author": {
			"id": "0da5a9e8-90ef-403f-873c-e20e4d298558",
			"name": "Staff name",
			"image": "",
			"email": "staffEmailLogin@domain.com",
			"status": "team",
			"isBot": false
		},
		"ccEmails": [],
		"creationTime": "2020-03-05T17:58:23.0186292+00:00",
		"htmlMessage": "new reply text",
		"id": 156372820,
		"level": 0,
		"message": "new reply text",
		"parentReplyId": null,
		"properties": {
			"isByTeam": true,
			"isDraft": false,
			"isHidden": false
		},
        "tags": [],
		"ticketId": 443484636,
		"toEmails": []
	},
	"errorCode": -1,
	"errorText": null
}
```

#### Fields

| Field         | Type                                                                                                                          | Comments                                                            |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| attachments   | array of [Base Attachment](https://developers.socialboards.com/docs/apis/tickets/reference/objects/base-attachment) models    | Reply attachments                                                   |
| author        | [User](https://developers.socialboards.com/docs/apis/tickets/reference/objects/user) model                                    | Reply creator info                                                  |
| ccEmails      | array of strings                                                                                                              | An array of emails for additional recipients receiving email copies |
| creationTime  | string                                                                                                                        | Reply creation time. Represent datetime string in ISO 8601 format   |
| htmlMessage   | string                                                                                                                        | Reply html content                                                  |
| id            | integer                                                                                                                       | Unique reply id                                                     |
| level         | integer                                                                                                                       | Indicates the hierarchical level of a reply in a ticket thread      |
| message       | string                                                                                                                        | Reply text content                                                  |
| parentReplyId | nullable integer                                                                                                              | Unique id of parent reply. If null the reply is a root reply        |
| properties    | [ReplyProperties](https://developers.socialboards.com/docs/apis/tickets/reference/objects/reply-properties) model             | Properties or attributes associated with a reply                    |
| tags          | array of [Tag](https://github.com/SocialBoards/public-platform-docs/blob/master/apis/tickets/reference/objects/tag.md) models | Tags associated with a reply                                        |
| ticketId      | integer                                                                                                                       | Unique ticket id                                                    |
| toEmails      | array of strings                                                                                                              | Array of email addresses for primary recipients                     |
