Get general ticket settings
curl --request GET \ --url https://example.com/api/v1/tickets/settings/general \ --header 'Authorization: Bearer <token>'Returns whether clients may rate closed tickets, the default action on reply, when pending tickets close on their own, and the reminders sent to clients who have not replied. Requires the tickets.view permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The workspace’s general ticket settings.
object
A workspace’s general ticket settings.
object
Close pending tickets after a quiet period.
object
The open status that counts as pending. Required when afterHours is set.
The closed status pending tickets move to. Required when afterHours is set.
When a client replies: the status a client’s message moves its ticket to. Null leaves the ticket where it is.
Whether clients may rate a closed ticket from the portal. Off by default.
Default action on reply: the status the team’s reply to the client moves the ticket to unless the agent picks another. Null does nothing.
Remind clients who have not replied, then close the ticket. Absent on a server older than this setting.
object
Business days before the ticket closes. Greater than the second reminder.
The closed status the ticket moves to. Required when enabled is true.
Whether clients are reminded while a ticket waits on them, and the ticket closes when they stay silent. Off by default.
Business days a ticket waits on the client before the first reminder.
The reminder text as HTML. Null falls back to a built-in default. It may use {{ticket.subject}}, {{ticket.close_date}} and {{workspace.name}}.
Business days before the second reminder. Greater than the first.
Example generated
{ "data": { "autoClose": { "afterHours": 1, "fromStatusId": "example", "toStatusId": "example" }, "clientReplyStatusId": "example", "ratingsEnabled": true, "replyStatusId": "example", "waitingReminders": { "closeDays": 1, "closeStatusId": "example", "enabled": true, "firstReminderDays": 1, "message": "example", "secondReminderDays": 1 } }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC