GET, POST

/api/public/v1/support/tickets

Live

List a customer's tickets or create one. Needs a support API key with tickets:read / tickets:write.

Parameters

NameInRequiredDescription
customerEmail, status, limit, skipquery (GET)falsecustomerEmail is only used by a service (unbound) key; a customer-bound key always acts as its own customer. status is open or resolved.
subject, description, type, category, customerEmail, linkedInvoiceNumberbody (POST)subject, description requiredcustomerEmail is required for a service key and forbidden to differ from the bound customer for a bound key. Send an Idempotency-Key header (8-100 characters): a retry returns the first ticket instead of creating another. Priority is decided by policy, not by the caller.

Response

GET: { tickets: [...], total }. POST: 201 { ticket, duplicate } in the customer-safe shape (public messages and customer-facing status only).

Example

curl -H "Authorization: Bearer $INAYA_API_KEY" \
  "https://app.inaya.network/api/public/v1/support/tickets"