API referenceSections

The quota notice templates of this seller, each kind in vi and en

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/notice-templates

The quota notice templates of this seller, each kind in vi and en

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Templates

Content type: application/json

object
  • items array<NoticeTemplate> required
    • kind string required
      Allowed values: "quota.warning" "quota.exceeded" "quota.suspended"
    • lang string required
      Allowed values: "vi" "en"
    • subject string required
    • body string required

      Plain text; {{.Field}} and {{if .Field}}...{{end}} only

    • custom boolean required
    • fields array<string> required
    • updated_at string (date-time) optional
Example
{
  "items": [
    {
      "kind": "quota.warning",
      "lang": "vi",
      "subject": "string",
      "body": "string",
      "custom": true,
      "fields": [
        "string"
      ],
      "updated_at": "2026-01-01T00:00:00Z"
    }
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required