# Titan ## Docs - [Async commands for fire-and-forget API calls](https://docs.usetitan.app/advanced/async-commands.md): Add a single header to any Titan API request to get an immediate 202 response and receive the result later via webhook — ideal for high-throughput workloads. - [Client tokens for browser and frontend use](https://docs.usetitan.app/advanced/client-tokens.md): Mint short-lived, session-scoped JWTs so your frontend can call Titan directly — without ever exposing your server API key to the browser. - [MCP server for AI agent WhatsApp access](https://docs.usetitan.app/advanced/mcp-server.md): Connect Claude, Cursor, or any MCP-compatible AI agent to WhatsApp via Titan's 76-tool MCP server — full API coverage over a standard protocol. - [Safe mode for human-like sending behavior](https://docs.usetitan.app/advanced/safe-mode.md): Enable Safe Mode to simulate real user behavior — typing indicators, adaptive delays, online cycling — and reduce the risk of WhatsApp account restrictions. - [Channels API reference](https://docs.usetitan.app/api-reference/channels.md): Create, list, and manage WhatsApp Channels (newsletters). Follow, unfollow, mute, and unmute channels using the 8 channel endpoints. - [Client tokens API reference](https://docs.usetitan.app/api-reference/client-tokens.md): Mint short-lived browser-safe tokens and configure per-session rules to enforce allowed actions, rate limits, and recipient restrictions for client-side access. - [Contacts API reference](https://docs.usetitan.app/api-reference/contacts.md): List contacts, retrieve profile info, check if phone numbers are on WhatsApp, fetch profile pictures, and block or unblock contacts. - [Groups API reference](https://docs.usetitan.app/api-reference/groups.md): Create and manage WhatsApp groups. Add and remove participants, manage admins, control invite links, and update group settings with 17 group endpoints. - [Labels API reference](https://docs.usetitan.app/api-reference/labels.md): Create, update, and delete WhatsApp labels. Assign labels to chats and remove them to organize conversations in WhatsApp Business accounts. - [Media API reference](https://docs.usetitan.app/api-reference/media.md): Download, persist, and retrieve metadata for WhatsApp media files. Fetch media by ID from webhook events and save to your S3-compatible bucket. - [Messages API reference](https://docs.usetitan.app/api-reference/messages.md): Send text, media, polls, locations, and contacts over WhatsApp. React, edit, delete, star, and mark messages as seen using the unified messages API. - [API reference overview](https://docs.usetitan.app/api-reference/overview.md): Titan API conventions: base URL, authentication headers, request and response format, error codes, rate limiting headers, and async command mode. - [Presence API reference](https://docs.usetitan.app/api-reference/presence.md): Set your WhatsApp online status, query contact presence, and subscribe to real-time presence updates using the presence endpoints. - [Sessions API reference](https://docs.usetitan.app/api-reference/sessions.md): Create, start, stop, restart, and delete WhatsApp sessions. Retrieve session status, linked account info, and manage the session lifecycle. - [Webhooks API reference](https://docs.usetitan.app/api-reference/webhooks.md): Create and manage webhooks to receive real-time WhatsApp events. Configure retry policies, HMAC signing, custom headers, and session filters. - [Authentication: API Keys, Scopes, and Rotation](https://docs.usetitan.app/authentication.md): Authenticate Titan API requests with scoped API keys. Create keys, assign permission scopes, set expiry, rotate credentials, and handle auth errors. - [Introduction to Titan WhatsApp Business API](https://docs.usetitan.app/introduction.md): Titan gives you programmatic access to WhatsApp. Connect any number, send every message type, and receive real-time events via REST API and official SDKs. - [Manage WhatsApp Channels with Titan](https://docs.usetitan.app/messaging/channels.md): Create, follow, and broadcast to WhatsApp Channels (Newsletters) — one-way broadcast channels where only admins can post content. - [Manage WhatsApp groups with Titan](https://docs.usetitan.app/messaging/groups.md): Create groups, manage participants, update settings, and handle invite links — all through the Titan REST API using your session name. - [Handle media files in Titan](https://docs.usetitan.app/messaging/media.md): Download, decrypt, and persist incoming media to your own S3 bucket. Titan streams media directly — nothing is stored on Titan's servers. - [Send messages with the Titan API](https://docs.usetitan.app/messaging/send-messages.md): Use a single endpoint to send text, media, polls, locations, and contacts over WhatsApp — with replies, reactions, and typing indicators built in. - [Quickstart: Send Your First WhatsApp Message](https://docs.usetitan.app/quickstart.md): Create a session, pair your WhatsApp number via QR or phone code, and send your first message using the Titan REST API in under five minutes. - [DB sync adapters for WhatsApp event persistence](https://docs.usetitan.app/sdks/db-sync-adapters.md): Automatically write Titan webhook events to your database with adapters for Supabase, Convex, Firebase, Laravel, Cloudflare, Vercel, AWS, Azure, GCP, and more. - [Go SDK for the Titan WhatsApp API](https://docs.usetitan.app/sdks/go.md): Install titan-sdk-go, initialize a client, send messages, verify webhooks, and use client tokens from Go with full context support. - [n8n community node for Titan WhatsApp automation](https://docs.usetitan.app/sdks/n8n.md): Install n8n-nodes-titan to build WhatsApp automation workflows in n8n. 13 resources, 30 trigger events, and full coverage of the Titan API. - [SDKs and integrations overview](https://docs.usetitan.app/sdks/overview.md): Official Titan SDKs for TypeScript, Go, Python, PHP, and C#. Includes DB sync adapters for serverless platforms and no-code integrations for Zapier and n8n. - [PHP SDK for the Titan WhatsApp API](https://docs.usetitan.app/sdks/php.md): Install titan/sdk via Composer, initialize a client, send messages, verify webhooks, and use client tokens from PHP 8.1 and later. - [Python SDK for the Titan WhatsApp API](https://docs.usetitan.app/sdks/python.md): Install titan-sdk via pip, initialize a typed client, send messages, verify incoming webhook signatures, and use client tokens from Python 3.9 and later. - [TypeScript SDK for the Titan WhatsApp API](https://docs.usetitan.app/sdks/typescript.md): Install @titan-api/sdk, initialize a typed client, send messages, verify webhook signatures, and use client tokens from TypeScript or JavaScript projects. - [Zapier integration for Titan WhatsApp automation](https://docs.usetitan.app/sdks/zapier.md): Connect WhatsApp to 5,000+ apps with Titan's Zapier integration. 30 trigger events, 63 actions, and 25 searches — build automations without writing code. - [Admin API: Manage Your Self-Hosted Instance](https://docs.usetitan.app/self-hosting/admin-api.md): Use the Admin API to create and rotate API keys, update instance settings, check your license, and toggle debug mode on your self-hosted Titan deployment. - [Deploy Titan with Docker Compose](https://docs.usetitan.app/self-hosting/docker.md): Run Titan on a single server using Docker Compose. Covers service configuration, required environment variables, health checks, and scaling guidance. - [Deploy Titan on Kubernetes with Helm](https://docs.usetitan.app/self-hosting/kubernetes.md): Deploy Titan on any Kubernetes cluster using the official Helm chart. Covers Helm install, AWS CloudFormation one-click, autoscaling, and Kustomize overlays. - [Self-Hosting Titan on Your Own Infrastructure](https://docs.usetitan.app/self-hosting/overview.md): Run Titan on your own infrastructure. Covers deployment options, licensing, the admin authentication model, and differences from the managed SaaS edition. - [Connect Widget: Add Embeddable WhatsApp Onboarding](https://docs.usetitan.app/sessions/connect-widget.md): Embed a hosted UI that guides users through connecting their WhatsApp via QR code, pairing code, or Meta Embedded Signup — no custom pairing logic needed. - [Sessions: Create, Start, and Manage Your Connections](https://docs.usetitan.app/sessions/overview.md): A session is a named, persistent connection between Titan and a WhatsApp number. Learn how to create, start, stop, and monitor your sessions. - [Pairing: Connect a WhatsApp Number via QR or Phone](https://docs.usetitan.app/sessions/pairing.md): Link a WhatsApp account to a Titan session using a QR code scan or an 8-digit phone number pairing code. No camera or app reinstall required. - [Webhook event reference — all 30 event types](https://docs.usetitan.app/webhooks/events.md): Complete reference for every event Titan can deliver to your webhook endpoint, organized by category with payload schemas and example JSON for each. - [Webhooks overview — Titan WhatsApp API](https://docs.usetitan.app/webhooks/overview.md): Register webhook URLs to receive WhatsApp events as HTTP POST requests. Configure event filters, retry policies, custom headers, and signature verification. - [Webhook signature verification — HMAC-SHA256](https://docs.usetitan.app/webhooks/verification.md): Every Titan webhook delivery includes an X-Webhook-Signature header. Verify it with HMAC-SHA256 before processing any payload to prevent spoofed requests.