Add Note To Ticket
All API requests should contain authorization headers.

Request

1
POST /tickets/{ticketId}/notes
Copied!

Query Parameters

Name
Type
Required
Comments
ticketId
integer
yes
Id of ticket you want to create note in.

Request Body

1
{
2
"attachments": [{
3
"isContentPart": null,
4
"name": "filename.png",
5
"url": "https://your.attachment.url/filename.png"
6
}
7
],
8
"author": {
9
"email": "[email protected]"
10
},
11
"message": "Note text"
12
}
13
Copied!
Body of request should contain the following model serialized to JSON.
Field
Type
Comments
attachments
array of Base Attachment models
Note attachments
author
Note Creator model
Note creator info.
message
string
Note content
1
{
2
"data": {
3
"id": 297991,
4
"message": "Note text",
5
"attachments": [],
6
"author": {
7
"id": "0da5a9e8-90ef-403f-873c-e20e4d298558",
8
"name": "Staff name",
9
"image": "",
10
"email": "[email protected]",
11
"status": "team",
12
"isBot": false
13
},
14
"mentionedUsers": [],
15
"creationTime": "2020-03-05T18:34:51.2599354+00:00"
16
},
17
"errorCode": -1,
18
"errorText": null
19
}
Copied!
Data field will contain note model.
Last modified 1yr ago
Copy link