Skip to content

GraphQL Overview

Browse queries, mutations, and types in the schema reference. For authentication, endpoint URLs, and domain guides, see the API Overview.

Conversations & messaging

Queries

Overview

Mutations

Overview

Objects

Overview

Enums

Overview
Contacts & CRM

Queries

Overview

Mutations

Overview

Objects

Overview

Inputs

Overview
Products & commerce

Queries

Overview

Mutations

Overview

Objects

Overview
Apps & credentials

Queries

Overview

Mutations

Overview

Objects

Overview
Organization

Queries

Overview

Objects

Overview

Enums

Overview
Other

Queries

Overview

Mutations

Overview

Objects

Overview

HealthEntity

entity_type
String
id
String
can_send_message
String
additional_info
[String]
Sample
{ "entity_type": "Example String", "id": "Example String", "can_send_message": "Example String", "additional_info": [ "Example String" ] }

InboxField

Available custom field definitions for inbox entities.

customer

Custom fields available on customer records.

conversation

Custom fields available on conversations.

device

Custom fields available on device/browser data.

Sample
{ "customer": [ { "__typename": "Field" } ], "conversation": [ { "__typename": "Field" } ], "device": [ { "__typename": "Field" } ] }

KnowledgeBaseArticle

A knowledge base article containing help content, documentation, or guides. Articles belong to categories within topics and support rich content, attachments, and reactions.

_id
String!,non-null
code
String

Unique code identifier for programmatic access.

title
String

The article title.

summary
String

Brief summary or excerpt of the article content.

content
String

Full article content (HTML).

status
String

Publication status: 'draft', 'publish', or 'scheduled'.

isPrivate
Boolean

Whether this article is only visible to team members.

reactionChoices
[String]

Available emoji reaction types for this article.

reactionCounts

Count of each reaction type received.

createdBy
String

User ID of the article creator.

createdUser

The resolved user who created this article.

createdDate

When this article was created.

modifiedBy
String

User ID of the last modifier.

modifiedDate

When this article was last modified.

topicId
String

The topic this article belongs to.

categoryId
String

The category this article belongs to.

viewCount
Int

Total number of times this article has been viewed.

attachments

File attachments included with this article.

Featured image for the article.

pdfAttachment

PDF attachment with extracted page images.

publishedUserId
String

User ID of who published this article.

publishedUser

The resolved user who published this article.

scheduledDate

Scheduled publication date (for status 'scheduled').

Forms embedded in this article.

Sample
{ "_id": "Example String", "code": "Example String", "title": "Example String", "summary": "Example String", "content": "Example String", "status": "Example String", "isPrivate": true, "reactionChoices": [ "Example String" ], "reactionCounts": "Example Custom Scalar", "createdBy": "Example String", "createdUser": { "__typename": "User" }, "createdDate": "Example Custom Scalar", "modifiedBy": "Example String", "modifiedDate": "Example Custom Scalar", "topicId": "Example String", "categoryId": "Example String", "viewCount": 40, "attachments": [ { "__typename": "Attachment" } ], "image": { "__typename": "Attachment" }, "pdfAttachment": { "__typename": "PdfAttachment" }, "publishedUserId": "Example String", "publishedUser": { "__typename": "User" }, "scheduledDate": "Example Custom Scalar", "forms": [ { "__typename": "FormCode" } ] }

KnowledgeBaseArticlesPaginated

Paginated list of knowledge base articles.

The list of articles for the current page.

pagination

Pagination metadata.

Sample
{ "data": [ { "__typename": "KnowledgeBaseArticle" } ], "pagination": { "__typename": "PaginationInfo" } }

KnowledgeBaseCategoriesPaginated

Paginated list of knowledge base categories.

The list of categories for the current page.

pagination

Pagination metadata.

Sample
{ "data": [ { "__typename": "KnowledgeBaseCategory" } ], "pagination": { "__typename": "PaginationInfo" } }

KnowledgeBaseCategory

A category that groups related knowledge base articles together. Categories can be nested under parent categories for hierarchical organization.

_id
String
code
String

Unique code identifier for programmatic access.

title
String

The category title.

description
String

Description of what this category covers.

Articles in this category, optionally filtered by status.

status
icon
String

Icon identifier for the category.

createdBy
String

User ID of the category creator.

createdDate

When this category was created.

modifiedBy
String

User ID of the last modifier.

modifiedDate

When this category was last modified.

parentCategoryId
String

Parent category ID for nested categorization.

The first topic this category belongs to.

authors

Users who have authored articles in this category.

numOfArticles
Float

Count of articles in this category, optionally filtered by status.

status
countArticles
Int

Total article count in this category.

Sample
{ "_id": "Example String", "code": "Example String", "title": "Example String", "description": "Example String", "articles": [ { "__typename": "KnowledgeBaseArticle" } ], "icon": "Example String", "createdBy": "Example String", "createdDate": "Example Custom Scalar", "modifiedBy": "Example String", "modifiedDate": "Example Custom Scalar", "parentCategoryId": "Example String", "firstTopic": { "__typename": "KnowledgeBaseTopic" }, "authors": [ { "__typename": "User" } ], "numOfArticles": 40, "countArticles": 40 }

KnowledgeBaseParentCategory

A category with its nested child categories included.

_id
String
code
String

Unique code identifier.

title
String

The category title.

description
String

Description of what this category covers.

Articles directly in this parent category.

icon
String

Icon identifier.

createdBy
String

User ID of the creator.

createdDate

When this category was created.

modifiedBy
String

User ID of the last modifier.

modifiedDate

When this category was last modified.

parentCategoryId
String

Parent category ID (for deeper nesting).

The first topic this category belongs to.

authors

Users who have authored articles in this category.

numOfArticles
Float

Count of articles, optionally filtered by status.

status

Nested child categories.

Sample
{ "_id": "Example String", "code": "Example String", "title": "Example String", "description": "Example String", "articles": [ { "__typename": "KnowledgeBaseArticle" } ], "icon": "Example String", "createdBy": "Example String", "createdDate": "Example Custom Scalar", "modifiedBy": "Example String", "modifiedDate": "Example Custom Scalar", "parentCategoryId": "Example String", "firstTopic": { "__typename": "KnowledgeBaseTopic" }, "authors": [ { "__typename": "User" } ], "numOfArticles": 40, "childrens": [ { "__typename": "KnowledgeBaseCategory" } ] }

KnowledgeBaseSearchHit

A single search result hit from the knowledge base vector search.

id
String!,non-null

The article ID that matched.

score
Float

Relevance score (higher is better).

metadata

Additional metadata about the match.

highlight
String

Highlighted text snippet showing the matching content.

Sample
{ "id": "Example String", "score": 40, "metadata": "Example Custom Scalar", "highlight": "Example String" }

KnowledgeBaseSearchResult

Results from a knowledge base semantic search query.

query
String!,non-null

The original search query.

totalResults
Int!,non-null

Total number of matching results.

The search result hits, ordered by relevance.

citations
[JSON!],non-null

Source citations for the results.

Sample
{ "query": "Example String", "totalResults": 40, "results": [ { "__typename": "KnowledgeBaseSearchHit" } ], "citations": [ "Example Custom Scalar" ] }

KnowledgeBaseTopic

A knowledge base topic — the top-level organizational unit. Topics are associated with a brand and contain categories of articles. They can be styled with custom colors and background images.

_id
String!,non-null
code
String

Unique code identifier for programmatic access.

title
String

The topic title.

description
String

Description of the topic.

Categories within this topic.

workspace
color
String
backgroundImage
String

URL of the background image for the topic page.

languageCode
String

ISO language code for the topic content (e.g. 'en', 'ar').

createdBy
String

User ID of the topic creator.

createdDate

When this topic was created.

modifiedBy
String

User ID of the last modifier.

modifiedDate

When this topic was last modified.

Top-level parent categories within this topic.

Sample
{ "_id": "Example String", "code": "Example String", "title": "Example String", "description": "Example String", "categories": [ { "__typename": "KnowledgeBaseCategory" } ], "workspace": { "__typename": "Workspace" }, "color": "Example String", "backgroundImage": "Example String", "languageCode": "Example String", "createdBy": "Example String", "createdDate": "Example Custom Scalar", "modifiedBy": "Example String", "modifiedDate": "Example Custom Scalar", "parentCategories": [ { "__typename": "KnowledgeBaseParentCategory" } ] }

KnowledgeBaseTopicsPaginated

Paginated list of knowledge base topics.

The list of topics for the current page.

pagination

Pagination metadata.

Sample
{ "data": [ { "__typename": "KnowledgeBaseTopic" } ], "pagination": { "__typename": "PaginationInfo" } }

Unions

Overview

Enums

Overview

Inputs

Overview

Scalars

Overview