Skip to content
gist.link ↗

Support types

Type definitions referenced by Support queries and mutations.

Object.

Field Type Description
id Int! —
auth_user_id String! —
name String! —
email String! —
roles [String!]! —
groups [Group!]! —
active Boolean! —
signature_id Int Signature assigned directly to this agent (overrides group/default signatures).
created_at String! —
updated_at String! —

Object.

Field Type Description
url String! —
filename String! —
content_type String! —
size Int! —

Input object. A finalized Drive attachment echoed back when posting a message.

Field Type Description
url String! —
filename String! —
content_type String! —
size Int! —

Object. Presigned browser upload for a ticket attachment (PUT the file to uploadUrl).

Field Type Description
nodeId Int! Drive node id; pass to finalizeAttachment after the PUT succeeds.
uploadUrl String! —
headers JSON —

Scalar. The Boolean scalar type represents true or false.

Object. A public ticket message as seen by the anonymous chat widget (no author emails/ids).

Field Type Description
id Int! —
author_type String! One of: agent, requester, system.
author_name String! —
body String! —
created_at String! —

Object. An anonymous chat-widget session: one ticket’s public conversation plus the credentials to continue it.

Field Type Description
ticket_id Int! —
status String! —
visitor_token String! Present this on chatSession/sendChatMessage; store it client-side to resume the chat.
messages [ChatMessage!]! Public messages only — internal agent notes are never exposed here.
realtime RealtimeGrant! Mercure grant scoped to this single ticket’s topic.

Input object.

Field Type Description
name String! —
match_type String! —
pattern String! —
tag_ids [Int!] —
group_id Int —
assignee_id Int —
active Boolean —
position Int —

Input object.

Field Type Description
name String! —
description String —

Input object.

Field Type Description
name String! —
actions JSON! —

Input object.

Field Type Description
name String! —
body String! —
isDefault Boolean —
agentIds [Int!] —
groupIds [Int!] —

Input object.

Field Type Description
priority String! —
first_response_minutes Int! —
resolution_minutes Int! —

Input object.

Field Type Description
name String! —

Input object.

Field Type Description
subject String! —
description String —
priority String —
channel String —
groupId Int —
tagIds [Int!] —
requesterId Int Agent/admin only: create on behalf of an existing requester.
requesterEmail String Agent/admin only: create on behalf of a requester identified by email (found-or-created).
requesterName String —

Input object.

Field Type Description
name String! —
event String! —
conditions JSON! —
actions JSON! —
active Boolean —
position Int —

Input object.

Field Type Description
name String! —
filters JSON! —
shared Boolean —

Object.

Field Type Description
date String! YYYY-MM-DD
count Int! —

Object. Routing rule applied when an inbound email creates a ticket: if the sender’s address (match_type=address) or domain (match_type=domain) matches pattern, the ticket is tagged and/or routed to a group/assignee. Rules run in position order; all matching rules apply (later rules win group/assignee).

Field Type Description
id Int! —
name String! —
match_type String! address | domain
pattern String! Lowercase email address or domain to match (domains also match subdomains).
tag_ids [Int!]! Tags added to matching tickets.
group_id Int —
assignee_id Int —
active Boolean! —
position Int! —
created_at String! —
updated_at String! —

Object.

Field Type Description
id Int! —
name String! —
description String —
signature_id Int Signature used for replies on this group’s tickets when the agent has none of their own.
created_at String! —
updated_at String! —

Scalar. The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Scalar. The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Scalar. Arbitrary JSON value (objects, arrays, scalars). Serialized as-is.

Object. An action object shared by Macro.actions and Trigger.actions, e.g. {“type”:“set_status”,“value”:“solved”} or {“type”:“add_reply”,“value”:“Thanks for reaching out…”,“is_public”:true}. Modeled as JSON because the action shape is polymorphic per type.

Field Type Description
id Int! —
name String! —
actions JSON! —
created_at String! —
updated_at String! —

Object.

Field Type Description
id Int! —
ticket_id Int! —
author_type String! One of: agent, requester, system.
author_agent Agent —
author_requester Requester —
author_name String! Convenience display name resolved from author_agent/author_requester (or “System”).
author_email String! Convenience display email resolved from author_agent/author_requester (empty for system authors).
body String! —
is_public Boolean! —
attachments [Attachment!]! —
created_at String! —

Object.

Field Type Description
hasNextPage Boolean! —
hasPreviousPage Boolean! —
startCursor String —
endCursor String —

Object.

Field Type Description
priority String! —
count Int! —

Object. A Mercure subscriber grant: open an EventSource on url with each topic as a topic query param and token as the authorization query param.

Field Type Description
url String! —
token String! —
topics [String!]! —

Object. The signature resolved for the caller’s reply on a specific ticket.

Field Type Description
signature_id Int! —
name String! —
source String! Why it applies. One of: agent, group, default.
html String! Rendered HTML (placeholders filled in) exactly as it will be appended.

Object.

Field Type Description
id Int! —
auth_user_id String —
email String! —
name String —
crm_contact_uuid String CRM contact this requester is mapped to (set automatically; null until synced).
crm_company_uuid String CRM company of that contact (null for free-email domains).
created_at String! —
updated_at String! —

Object.

Field Type Description
edges [RequesterEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node RequesterSummary! —
cursor String! —

Object.

Field Type Description
email String! —
ticket_count Int! Tickets raised by this requester (spam and deleted tickets excluded).
open_ticket_count Int! Of those, tickets not yet solved/closed.
last_ticket_at String ISO-8601 creation time of their most recent ticket.
tags [String!]! Distinct tag names across their tickets.

Object.

Field Type Description
id Int! —
auth_user_id String —
email String! —
name String —
crm_contact_uuid String CRM contact this requester is mapped to (set automatically; null until synced).
crm_company_uuid String CRM company of that contact (null for free-email domains).
ticket_count Int! Tickets raised by this requester (spam and deleted tickets excluded).
open_ticket_count Int! Of those, tickets not yet solved/closed.
last_ticket_at String ISO-8601 creation time of their most recent ticket.
tags [String!]! Distinct tag names across their tickets.
created_at String! —
updated_at String! —

Object. A reusable HTML reply signature. Assigned to agents (highest precedence) or groups (applies on that group’s tickets); one may be the org default. Supported placeholders: {{agent.name}}, {{agent.email}}, {{group.name}}, {{ticket.id}}.

Field Type Description
id Int! —
name String! —
body String! HTML body; may contain placeholders.
is_default Boolean! Fallback for agents with no agent- or group-level signature. At most one per org.
agent_ids [Int!]! —
group_ids [Int!]! —
created_at String! —
updated_at String! —

Object.

Field Type Description
id Int! —
priority String! One of: low, normal, high, urgent. Unique per organization.
first_response_minutes Int! —
resolution_minutes Int! —
created_at String! —
updated_at String! —

Input object.

Field Type Description
field String! —
direction String! One of: ASC, DESC.

Input object.

Field Type Description
organizationId String! —
name String —
email String! —
message String! —

Scalar. The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Object.

Field Type Description
open_count Int! —
urgent_count Int! —
unassigned_count Int! —
overdue_sla_count Int! —
solved_today_count Int! —
created_by_day [DailyCount!]! Newest-last, one entry per day, last 14 days.
solved_by_day [DailyCount!]! Newest-last, one entry per day, last 14 days. Approximated from status + updated_at (no separate resolved_at column).
open_by_priority [PriorityCount!]! Currently-open (non-closed) tickets grouped by priority.

Object.

Field Type Description
id Int! —
name String! —
created_at String! —
updated_at String! —

Object.

Field Type Description
id Int! —
subject String! —
description String —
status String! One of: new, open, pending, on_hold, solved, closed.
priority String! One of: low, normal, high, urgent.
channel String! One of: web, email, api, chat.
requester Requester! —
crm_contact JSON The requester’s CRM contact as { uuid } (null until the async CRM sync maps it).
crm_company JSON The requester’s CRM company as { uuid } (null for free-email domains or before sync).
assignee Agent —
group Group —
tags [Tag!]! —
messages [Message!]! —
sla_due_at String —
sla_breached Boolean! —
spam Boolean! Flagged as spam/suspicious; excluded from normal views, shown in the Spam bucket.
deleted_at String Soft-delete timestamp; non-null means the ticket is in the Deleted bucket.
created_at String! —
updated_at String! —

Object. Ticket counts for the Spam and Deleted sidebar destinations.

Field Type Description
spam Int! —
deleted Int! —

Object.

Field Type Description
edges [TicketEdge!]! —
pageInfo PageInfo! —
totalCount Int! —

Object.

Field Type Description
node Ticket! —
cursor String! —

Input object.

Field Type Description
status String —
priority String —
assigneeId Int —
groupId Int —
tagIds [Int!] —
requesterId Int —
requesterEmails [String!] Requester emails — intended for CRM company overview lookups after CRM resolves company contacts.
crmCompanyUuid ID CRM company uuid — matches tickets from any of that company’s CRM contacts (by email).
search String Matches subject/description.
spam Boolean Spam bucket: when true, returns ONLY tickets flagged as spam (otherwise spam is excluded).
deleted Boolean Deleted bucket: when true, returns ONLY soft-deleted tickets (otherwise deleted is excluded).

Object.

Field Type Description
id Int! —
name String! —
event String! One of: ticket_created, ticket_updated.
conditions JSON! Array of {field, operator, value}, e.g. [{“field”:“priority”,“operator”:“eq”,“value”:“urgent”}].
actions JSON! —
active Boolean! —
position Int! —
created_at String! —
updated_at String! —

Input object.

Field Type Description
name String —
match_type String —
pattern String —
tag_ids [Int!] —
group_id Int —
assignee_id Int —
active Boolean —
position Int —

Input object.

Field Type Description
name String —
description String —

Input object.

Field Type Description
name String —
actions JSON —

Input object.

Field Type Description
name String —
body String —
isDefault Boolean —
agentIds [Int!] Replaces the set of agents assigned this signature.
groupIds [Int!] Replaces the set of groups assigned this signature.

Input object.

Field Type Description
priority String —
first_response_minutes Int —
resolution_minutes Int —

Input object.

Field Type Description
name String! —

Input object.

Field Type Description
subject String —
description String —
priority String —
groupId Int —
tagIds [Int!] —

Input object.

Field Type Description
name String —
event String —
conditions JSON —
actions JSON —
active Boolean —
position Int —

Input object.

Field Type Description
name String —
filters JSON —
shared Boolean —

Object.

Field Type Description
id Int! —
name String! —
filters JSON! Same shape as TicketFilter, stored as JSON.
shared Boolean! —
position Int! Sort order within the tickets sidebar; lower sorts first.
count Int! Live number of tickets matching the view’s filters (sidebar badge).
created_by_agent Agent —
tickets TicketConnection! Runs the view’s stored filters through the same query logic as tickets.
created_at String! —
updated_at String! —