vicket
Get started
API / NÂș 04

API endpoints

The Vicket API is REST, JSON, versioned at /v1 for the dashboard surface and /support/v1 for the public surface your support page calls. All endpoints return a stable envelope: data on success, { "error": { "code", "message" } } on failure. Authentication rules are in api-authentication.

Endpoint groups

GroupAuthPurpose
GET /v1/mesessionCurrent user
/v1/orgssessionList, create orgs
/v1/orgs/{slug}sessionRead, update a specific org
/v1/orgs/{slug}/memberssessionInvite, list, role-set members
/v1/orgs/{slug}/sitessessionCRUD sites in an org
/v1/orgs/{slug}/statusessessionCRUD ticket statuses
/v1/orgs/{slug}/prioritiessessionCRUD priorities
/v1/orgs/{slug}/templatessessionCRUD ticket form templates
/v1/orgs/{slug}/workflowssessionCRUD workflows + run history
/v1/orgs/{slug}/help/articlessessionAuthor articles
/v1/orgs/{slug}/help/faqssessionAuthor FAQs
/v1/orgs/{slug}/ticketssessionAgent-facing ticket inbox
/support/v1/templatessite keyPublished ticket form templates
/support/v1/ticketssite keyPublic ticket submission
/support/v1/help/articlessite keyPublished articles
/support/v1/help/faqssite keyPublished FAQs

Verbs and conventions

VerbEffect
GETRead. Idempotent.
POSTCreate. Returns the created resource with a server-issued ID.
PATCHPartial update. Send only fields you want to change.
PUTFull replace. Rare, used for workflow graphs.
DELETEDelete. 204 on success.

Idempotency

POST /support/v1/tickets accepts an optional Idempotency-Key header. The same key with the same body returns the cached response; the same key with a different body returns 409. The scaffolded components send a UUID per submission so accidental double-clicks are safe.

Rate limits

Public endpoints are rate limited per site and per IP. Exceeding the limit returns 429; back off and retry.

Example: list published articles

GET /support/v1/help/articles HTTP/1.1
Host: api.vicket.app
X-Vicket-Key: pk_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0

Next