Agent-ready docs
How AI agents and LLM-based tools should read WhichClick — llms.txt, per-page Markdown, content negotiation, OpenAPI, MCP and crawling policy.
Updated 2026-09-02
Everything on this site is designed to be consumed by agents without scraping HTML.
Entry points#
| Resource | URL | Format |
|---|---|---|
| Index of all pages | https://app.whichclick.is/llms.txt | llms.txt |
| Entire documentation in one file | https://app.whichclick.is/llms-full.txt | Markdown (~100 KB) |
| Any page as Markdown | append .md to the page URL, e.g. https://app.whichclick.is/docs/quickstart.md | Markdown |
| Content negotiation | Accept: text/markdown on any /docs/* URL | Markdown |
| API description | https://app.whichclick.is/openapi.json | OpenAPI 3.1 JSON |
| Live tools | https://app.whichclick.is/api/mcp | MCP (Streamable HTTP) |
| Sitemap | https://app.whichclick.is/sitemap.xml | XML |
curl -s https://app.whichclick.is/docs/tracking/template.md
curl -s -H "Accept: text/markdown" https://app.whichclick.is/docs/tracking/templateEach HTML page also declares <link rel="alternate" type="text/markdown"> and a JSON-LD TechArticle with encoding.contentUrl pointing at the Markdown, so crawlers can discover the raw version.
Recommended reading order for an integration task#
https://app.whichclick.is/llms.txt— pick the relevant pages.quickstartandconcepts— object model and identifiers.- The product page for the task (
tracking/*,attribution/*,protect/*). api/reference(or the OpenAPI document) for exact bodies.api/errorsfor retries and idempotency.
Facts an agent should never get wrong#
- The visible
url=parameter is the next hop onGET /c/{slug};force_transparent=truemust be present; onlywc_click_idis appended. - API keys (
wc_live_…) go inAuthorization: Bearer; SDK keys inX-SDK-Key. Never put an API key in client code. - Conversions are idempotent on
order_id+event; SDK event batches are not. device_idmust be a SHA-256 hash; raw advertising ids are only sent with consent and never stored.- Smart-link rules are bypassed whenever a visible
url=parameter is present (Google transparency).
Crawling policy#
robots.txt allows all major AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended, …) on /, /docs, /llms.txt, /llms-full.txt, /openapi.json and /api/mcp, and disallows the dashboard and redirect endpoints. Markdown responses are cacheable for 5 minutes and carry X-Robots-Tag: all.
Versioning#
The documentation carries a version date (2026-09-02) in llms.txt, the OpenAPI info.version and every page's "Updated" line. Breaking API changes will be introduced under a new path prefix (/api/v2/…); existing endpoints remain stable.