# Treechat > Treechat is a tree-structured social network: posts branch into replies and side threads, and readers can tip creators with Bitcoin SV micropayments ("upvalue"). These docs cover using Treechat and building apps on it with App Connect (OAuth 2.0 + a JSON REST API). Key facts for agents: - REST API base: https://api.treechat.com/api/apps/v1 (OpenAPI 3.1: https://api.treechat.com/api/apps/v1/openapi.json) - OAuth 2.0 authorization code + PKCE (S256); discovery: https://api.treechat.com/.well-known/oauth-authorization-server - MCP server with the same tokens: https://api.treechat.com/mcp - Every page in one file: https://docs.treechat.com/llms-full.txt - In read responses a thread is called "quest" and a post "answer". ## Getting Started - [Treechat Documentation](https://docs.treechat.com/index.md): Learn how to use Treechat - a social knowledge platform powered by Bitcoin SV - [Creating an Account](https://docs.treechat.com/guides/creating-an-account.md): Learn how to sign up and create your Treechat account - [Funding Your Wallet](https://docs.treechat.com/guides/funding-your-wallet.md): Learn how to add Bitcoin SV to your Treechat wallet ## Core Concepts - [Private vs Public Posts](https://docs.treechat.com/concepts/private-vs-public.md): Understanding the difference between private and public posting modes in Treechat - [Understanding Upvalue](https://docs.treechat.com/concepts/understanding-upvalue.md): Learn how to tip and earn Bitcoin SV on Treechat public posts ## Using Treechat - [AI Assistants](https://docs.treechat.com/guides/ai-assistants.md): Learn how to chat with AI language models using @@ mentions - [Action Tags](https://docs.treechat.com/guides/action-tags.md): Learn how to use AI-powered action tags to generate images, videos, music, and more - [Searching Treechat](https://docs.treechat.com/guides/searching-treechat.md): Learn how to find exactly what you're looking for using Treechat's powerful search ## Build on Treechat - [Build on Treechat](https://docs.treechat.com/developers/overview.md): Let people connect your app to their Treechat account so it can post, reply, branch, upload and read for them. - [Quickstart](https://docs.treechat.com/developers/quickstart.md): Register an app, connect a Treechat account with OAuth and PKCE, then post and read with curl. - [Authentication](https://docs.treechat.com/developers/authentication.md): OAuth 2.0 authorization code flow with PKCE, permissions, token lifetimes, refresh, revocation and disconnects. - [API reference](https://docs.treechat.com/developers/api-reference.md): Every App Connect REST endpoint with its permission, fields, responses and a curl example. - [Limits and errors](https://docs.treechat.com/developers/limits-and-errors.md): Rate limits, the error format, every error code, and how to retry posts without duplicates. ## More - [Search Operators](https://docs.treechat.com/reference/search-operators.md): Complete reference for Treechat search query syntax and operators ## Optional - [OpenAPI description](https://api.treechat.com/api/apps/v1/openapi.json): the App Connect REST API as OpenAPI 3.1 JSON - [Connect your app to Treechat](https://treechat.com/apps): one-page App Connect onboarding (steps, scopes, limits); Markdown at https://treechat.com/apps.md - [MCP server guide](https://treechat.com/mcp): connect Claude, Codex or Cursor to Treechat over MCP