Tickets
A ticket is a stored event in an inbox, plus a durable state row — not a separate helpdesk. A seller files a support issue or feature request in a standard format; the team works it and the requester is notified when it completes.
- A visitor asks
The chat widget on your site takes the visitor’s question — no account needed, 10 questions a day.
- The widget answers from the docs
POST /api/v1/llm/chat-publicanswers with no key, 10 turns a day per IP, from docs-only retrieval (the top matching excerpts from llms.txt and the API summaries). The answer namessupport_inbox_id— the inbox tickets go to. When nothing in the docs matches, it answers{no_answer: true}and offers to file a ticket. - Filing a ticket lands it in the support inbox
POST /api/v1/inboxes/<inbox_id>/tickets/publicfiles it as a stored event in the support inbox — no account, 10 filings per IP per minute. The standard schema (ticket.v1) needs a title, description, requester email, type (bug, feature request, question, incident, or task) and category. A bug also needs steps to reproduce; a feature request needs the expected outcome. Priority sets the SLA targets. Lifecycle: open → in progress → resolved → closed; a closed ticket can reopen. Every status change is a stored event too, and every transition fires a signed webhook to the requester’s callback URL, with email as the backup. Metering is 1:1 as events — no per-ticket or per-seat price.
Quickstart
curl -X POST https://ahook.app/api/v1/llm/chat-public -d '{"messages":[{"role":"user","content":"<question>"}]}' # -> {"sources": [{"source": "<source>", "excerpt": "<excerpt>"}], "support_inbox_id": "<inbox_id>"} — or {"no_answer": true} when nothing in the docs matches curl -X POST https://ahook.app/api/v1/inboxes/<inbox_id>/tickets/public -d '{"title":"<title>","description":"<description>","requester":{"email":"<email>"},"type":"bug","category":"website-widget"}' # -> 201 {"ticket_id": "<ticket_id>", "public_status_url": "<url>"}
Agent Quickstart
Set up support tickets on AHOOK for my business — a chat widget that answers from the docs and files tickets. Get yourself an account from https://ahook.app. Read https://ahook.app/llms.txt and follow the steps for agents.