POST
Ticket.Settings
Read org Ticket Settings from user_detail: ticket_email_settings (Email on create) and ticket_completion_reason_settings (require completion reason on close). Alias of Ticket.SettingsGet. No parameters.
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.Settings 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
- No request body parameters — uses authenticated org (owner_id).
- ticket_email_settings: dashboard Settings → Email ON/OFF.
- ticket_completion_reason_settings: dashboard Settings → Completion Reasons enable.
- To change values use Ticket.SettingsUpdate (manager).
- Same handler as Ticket.SettingsGet.
Required Parameters
No body parameters are required for this function.
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.Settings",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": [],
"url_user": "https:\/\/{user}.bull36.com\/app\/Ticket.Settings",
"url_domain": "https:\/\/{domain}\/app\/Ticket.Settings"
}Endpoint
POST /app/Ticket.Settings
POST https://{user}.bull36.com/app/Ticket.Settings
POST https://{domain}/app/Ticket.SettingsSample Output
{
"success": 1,
"data": {
"ticket_email_settings": 1,
"ticket_completion_reason_settings": 0
}
}JavaScript Example
const token = 'YOUR TOKEN';
const res = await fetch('/app/Ticket.Settings', { method: 'POST', headers: { Authorization: 'Bearer ' + token } });
console.log(await res.json());Error Example
{
"success": 0,
"message": "Organization not found"
}