POST

Ticket.SettingsGet

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.Settings. 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.SettingsGet 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.Settings.

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.SettingsGet",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": [],
    "url_user": "https:\/\/{user}.bull36.com\/app\/Ticket.SettingsGet",
    "url_domain": "https:\/\/{domain}\/app\/Ticket.SettingsGet"
}

Endpoint

POST /app/Ticket.SettingsGet
POST https://{user}.bull36.com/app/Ticket.SettingsGet
POST https://{domain}/app/Ticket.SettingsGet

Sample 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.SettingsGet', { method: 'POST', headers: { Authorization: 'Bearer ' + token } });
console.log(await res.json());

Error Example

{
    "success": 0,
    "message": "Organization not found"
}