API Reference
A fully documented REST API for tickets, conversations and AI.
Base URL
https://api.supportflow.ai/v1List tickets
Returns a paginated list of tickets for your organization.
GET /v1/tickets?status=open&limit=25
Authorization: Bearer sk_live_xxxxxxxxCreate a ticket
POST /v1/tickets
{
"subject": "Login fails on mobile",
"priority": "high",
"user": { "email": "jane@acme.com" }
}Trigger an AI resolution
Ask the AI to attempt a resolution against your knowledge base.
POST /v1/ai/resolve
{
"ticket_id": "tkt_123",
"context": "User cannot reset password"
}Errors
- 401 — Invalid or missing API key
- 404 — Resource not found
- 422 — Validation error (see `errors[]`)
- 429 — Rate limit exceeded