> For the complete documentation index, see [llms.txt](https://knowledgebase.fabricdata.com/xytech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.fabricdata.com/xytech/xytech-api-and-integration-documentation.md).

# Xytech API & Integration Documentation

## Xytech API & Integration Documentation

Guides and references for building integrations on the Xytech Platform: REST APIs, webhooks, and prebuilt connectors.

{% hint style="info" %}
**New to the API? Start with API v3.** Read the v3 introduction, then the v2-to-v3 migration guide.
{% endhint %}

#### REST APIs

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover</th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th></tr></thead><tbody><tr><td>REST API v3</td><td><mark style="color:orange;">Latest:</mark> standards-aligned, with better defaults and clearer errors. Recommended for new integrations.</td><td><a href="https://2568035141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbRp7TvrKKuAGnIfULKj%2Fuploads%2Fu6U1Kju6mIj92h2zGwDy%2Fxytech-api-v3-ecosystem.svg?alt=media&#x26;token=ceaf7f2e-6af8-4e07-a100-ce9f1aee5be5">https://2568035141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbRp7TvrKKuAGnIfULKj%2Fuploads%2Fu6U1Kju6mIj92h2zGwDy%2Fxytech-api-v3-ecosystem.svg?alt=media&#x26;token=ceaf7f2e-6af8-4e07-a100-ce9f1aee5be5</a></td><td><a href="https://knowledgebase.fabricdata.com/xytech/rest-api-v3/">https://knowledgebase.fabricdata.com/xytech/rest-api-v3/</a></td><td><a href="https://2568035141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbRp7TvrKKuAGnIfULKj%2Fuploads%2FPxyMzAVW5AQiG1s98eJ4%2Fxytech-api-v3-ecosystem-dark.svg?alt=media&#x26;token=d7b452a4-7f1a-47bd-944a-b93fed0fb54c">https://2568035141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbRp7TvrKKuAGnIfULKj%2Fuploads%2FPxyMzAVW5AQiG1s98eJ4%2Fxytech-api-v3-ecosystem-dark.svg?alt=media&#x26;token=d7b452a4-7f1a-47bd-944a-b93fed0fb54c</a></td></tr><tr><td>REST API v2</td><td>The previous generation, fully supported for existing integrations.</td><td><a href="https://images.unsplash.com/photo-1638886716365-4a18b67e371f">https://images.unsplash.com/photo-1638886716365-4a18b67e371f</a></td><td><a href="https://knowledgebase.fabricdata.com/xytech/rest-api/">https://knowledgebase.fabricdata.com/xytech/rest-api/</a></td><td></td></tr><tr><td>X2 MCP Server</td><td>Operate Xytech X2 through an MCP server</td><td><a href="https://2568035141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbRp7TvrKKuAGnIfULKj%2Fuploads%2FmNFZ5MQxJRpmdfyCuKgk%2Fxytech-x2-mcp-server-light-990x735.png?alt=media&amp;token=9040ae90-62fd-4df1-81d4-ca86eebca556">xytech-x2-mcp-server-light-990x735.png</a></td><td><a href="https://knowledgebase.fabricdata.com/xytech/xytech-x2-mcp-server/">Xytech X2 MCP Server</a></td><td><a href="https://2568035141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXbRp7TvrKKuAGnIfULKj%2Fuploads%2FKE2eP7dB6mI3lFrvauAp%2Fxytech-x2-mcp-server-dark-990x735.png?alt=media&amp;token=40aafda2-71a0-4a86-bd42-304eeee22630">xytech-x2-mcp-server-dark-990x735.png</a></td></tr></tbody></table>

#### Integrations & automation

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="image">Cover</th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td>Webhooks</td><td>Receive change events in real time instead of polling the API.</td><td><a href="https://images.unsplash.com/photo-1675627452903-082d0a77bc6f">https://images.unsplash.com/photo-1675627452903-082d0a77bc6f</a></td><td><a href="https://knowledgebase.fabricdata.com/xytech/webhooks/">https://knowledgebase.fabricdata.com/xytech/webhooks/</a></td></tr><tr><td>Standard integrations</td><td>Prebuilt connectors and calendar integration setup.</td><td><a href="https://images.unsplash.com/photo-1646617747563-4f080bddf282">https://images.unsplash.com/photo-1646617747563-4f080bddf282</a></td><td><a href="https://knowledgebase.fabricdata.com/xytech/calendar-integration-setup/">https://knowledgebase.fabricdata.com/xytech/calendar-integration-setup/</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowledgebase.fabricdata.com/xytech/xytech-api-and-integration-documentation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
