Open a new support ticket on behalf of a user
Runs through the same AI triage/answer pipeline as every other channel (Discord, Slack, email) — the ticket may get auto-answered if confidence is high, otherwise it queues for human review.
Authorization
bearerAuth Org-scoped API key generated in Settings → API Keys (al_live_ prefix). Shared with the MCP server — the same key authenticates both surfaces.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/agent/tickets" \ -H "Content-Type: application/json" \ -d '{ "content": "string" }'{ "ticket_id": 0, "duplicate": true}{ "error": { "message": "string" }}{ "error": { "message": "string" }}List support tickets for the organization
Previous Page
Generate a grounded answer using the organization's knowledge base, without opening a ticket
Counts against the org's monthly deflection limit — if the limit is reached, returns 429 instead of generating for free. Only high-confidence generations count toward that limit.