Skip to content

REST API Reference

Base URL: https://api.deskfork.com/v1

All requests require Authorization: Bearer <api-key>.

ResourceDescription
/ticketsCreate, list, update, and close support tickets
/tickets/:id/messagesReplies and internal notes on a ticket
/tickets/:id/attachmentsFile attachments (Worker-proxied, not direct R2)
/workspacesWorkspace configuration and team members
/inboxesInbox management (email, web chat, webhook)
/contactsCustomer contact records
/sla-policiesPer-inbox SLA target configuration
/kb/articlesKnowledge base articles for AI triage
/kb/collectionsKnowledge base collections
/ai/cacheSemantic cache entries (Vectorize)
/webhooksOutbound webhook subscriptions
/api-keysAPI key management
ParameterTypeDescription
workspacestringWorkspace slug (required on multi-workspace keys)
pageintegerPage number, 1-indexed
per_pageintegerResults per page (max 100)
statusstringFilter by status (open, pending, resolved, closed)
{
"error": {
"code": "TICKET_NOT_FOUND",
"message": "Ticket TKT-9999 does not exist in this workspace.",
"status": 404
}
}

See API Quickstart for authentication and example calls.