Skip to main content

Admin

📄️List Support Agents

Lists every support seat — active and revoked — one page at a time, for the support settings. A seat is a central sku.io user with a support role; the role decides what they may do (`admin` reaches these settings endpoints, `agent` works tickets, `viewer` only reads and leaves internal notes). `is_effective` is what the access checks actually use: the seat is active AND the user is a super admin AND the user has not been deleted. `is_deleted` is true when the seat's user was removed from sku.io — the seat stays in this list (so a revoked or orphaned seat is never invisible) but grants nothing until that user is restored.

📄️Create Support Agent

Grants a support seat to an existing central sku.io user, looked up by email. If that user already has a seat (including a revoked one) the seat is re-activated and its role replaced with the one sent — this is also how you restore a revoked agent. The seat only takes effect (`is_effective`) once the user is a super admin; a seat for a non-super-admin is stored but grants nothing until they are one. The email lookup skips deleted users, so a seat cannot be granted to one (422). No notification email is sent.

📄️Get Rule Options

Returns the vocabulary an automation rule is composed from: the triggers, the condition fields (with their value type, the operators that fit them, and the allowed values for enum fields), the operators, the actions (with the value kind each expects and, where applicable, the allowed values), the customer notices, and the placeholders a message template may use. Use it to validate a rule client-side before creating or updating it; group and notice options reflect the current configuration.