POST
Ticket.NotesAdd
Append a note object {text, time, user_id} to tickets.notes JSON (customer-tickets notes). Both ticket_id and notes text are required.
Permissions
- User must be logged in with a valid bearer token.
- Returned or changed records are limited by the user permissions, team access, folder access, and account settings.
Action
- Runs the Ticket.NotesAdd function and returns JSON.
Push Service
No push is sent because this function only reads data or returns helper information.
Automation
No automation is run for this function.
Special Instructions
- ticket_id and notes are both required.
- Aliases for notes: note, text, message.
- time is set server-side; user_id is the authenticated user.
- Response data is the full updated notes array.
Required Parameters
| Name | Type | Sample | Explanation |
|---|---|---|---|
ticket_idpost | int | 900 | Ticket id. Aliases: id, data_id, t_id. |
notespost | string | Called customer | Note text. Aliases: note, text, message. |
Optional Parameters
No optional body parameters are defined for this function.
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/Ticket.NotesAdd",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"ticket_id": "900",
"notes": "Called customer"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/Ticket.NotesAdd",
"url_domain": "https:\/\/{domain}\/app\/Ticket.NotesAdd"
}Endpoint
POST /app/Ticket.NotesAdd
POST https://{user}.bull36.com/app/Ticket.NotesAdd
POST https://{domain}/app/Ticket.NotesAddSample Output
{
"success": 1,
"message": "Success",
"data": [
{
"text": "Called customer",
"time": "2026-09-08 10:00:00",
"user_id": 47
}
]
}JavaScript Example
const token = 'YOUR TOKEN';
const body = new URLSearchParams({ ticket_id: '900', notes: 'Called customer' });
const res = await fetch('/app/Ticket.NotesAdd', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());Error Example
{
"success": 0,
"message": "Missing required parameter: notes"
}