S
S
Socialboards
Search
K
Comment on page

Add Note To Ticket

All API requests should contain authorization headers.

Request

POST /tickets/{ticketId}/notes

Query Parameters

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

Request Body

{
"attachments": [{
"isContentPart": null,
"name": "filename.png",
"url": "https://your.attachment.url/filename.png"
}
],
"author": {
"email": "[email protected]"
},
"message": "Note text"
}
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
{
"data": {
"id": 297991,
"message": "Note text",
"attachments": [],
"author": {
"id": "0da5a9e8-90ef-403f-873c-e20e4d298558",
"name": "Staff name",
"image": "",
"email": "[email protected]",
"status": "team",
"isBot": false
},
"mentionedUsers": [],
"creationTime": "2020-03-05T18:34:51.2599354+00:00"
},
"errorCode": -1,
"errorText": null
}
Data field will contain note model.