Skip to content

Get helpdesk messaging settings

GET
/tickets/messaging
Code sample: Shell / cURL
curl --request GET \
--url https://example.com/api/v1/tickets/messaging \
--header 'Authorization: Bearer <token>'

Returns business hours, the off-hours auto-reply toggle and message, the new-ticket acknowledgment toggle and message, the signature on client replies, and the client-emails master switch. Requires the tickets.view permission.

The workspace’s helpdesk messaging settings.

Media typeapplication/json
object
data
required

A workspace’s helpdesk messaging configuration.

object
acknowledgmentEnabled

Whether a new ticket opened in business hours is acknowledged by email. Off by default. Absent on a server older than this setting.

boolean
acknowledgmentMessage

The acknowledgment text as HTML. Null falls back to a built-in default. It may use {{ticket.subject}}, {{ticket.response_time}} and {{workspace.name}}. Absent on an older server.

string | null
autoReplyEnabled
required

Whether the off-hours auto-reply is enabled.

boolean
autoReplyMessage
required

The workspace’s auto-reply message as HTML (legacy messages may be plain text). Null falls back to a built-in default.

string | null
businessHours
required

A workspace’s business-hours schedule.

object
enabled
required

Whether business hours are enforced (SLA measurement and the auto-reply gate).

boolean
rows
required

Open windows. A day’s business time is the union of every row that covers it.

Array<object>
object
days
required

Days this row covers, 0 = Sunday … 6 = Saturday. A day may appear in several rows.

Array<integer>
end
required

HH:MM, 24-hour, in the workspace timezone; after start.

string
start
required

HH:MM, 24-hour, in the workspace timezone.

string
timezone
required

Read-only. The workspace timezone every row is expressed in; change it in the workspace preferences.

string
clientEmailsEnabled
required

Master switch for every outbound helpdesk client email. Turning this off silences replies, status changes, and the auto-reply alike.

boolean
emailSignature
required

The signature as HTML (legacy signatures may be plain text): it opens under every client reply the team writes and closes status-change and auto-reply emails. Null omits the signature.

string | null

Example generated

{
"data": {
"acknowledgmentEnabled": true,
"acknowledgmentMessage": "example",
"autoReplyEnabled": true,
"autoReplyMessage": "example",
"businessHours": {
"enabled": true,
"rows": [
{
"days": [
1
],
"end": "example",
"start": "example"
}
],
"timezone": "example"
},
"clientEmailsEnabled": true,
"emailSignature": "example"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.