Support — K8 HQ Content API
Support operations for K8 HQ Content API. Requests, permissions and responses.
Before making requests, read the authentication and request requirements.
Write to K8 HQ Support from the web app: the request becomes a ticket for K8 HQ's support team, who reply by email.
Base URL
| Base URL | For |
|---|---|
https://api.k8hq.com/v1 | API tokens and the K8 HQ web app |
Endpoints
Support
Write to K8 HQ support
Sends a support request to K8 HQ Support, which opens a ticket that K8 HQ's support team replies to by email at replyTo. A person signed in to the web app only: tokens and assistants get 403. orgId is one of the person's organizations (404 otherwise), or none for their account. Only fixed facts go with the description (the account and organization IDs, the organization's name, appVersion), never message content or diagnostics. requestId is the client's own: send the same one on a retry, and it's the same request (never a second ticket). At most 5 requests a day and one a minute per account (429 rate_limited). If support can't take requests here, 503 says which address to email instead.
For the web app.
Request body (JSON)
| Field | Type | Description |
|---|---|---|
description required | string | What the person needs help with, in their words (1 to 5,000 characters). |
replyTo required | string | Where replies go: a bare address, like you@example.com. |
requestId required | string | The client's ID for this request, the same on every retry. Pattern: ^[A-Za-z0-9_-]{8,64}$. |
appVersion | string | The app's version, for support. |
orgId | string | The organization it's about; none: the person's account. Pattern: ^org_. |
{"description":"Mail from my domain stopped arriving this morning.","orgId":"org_01JABCDEFGHJKMNPQRSTVWXYZ0","replyTo":"you@example.com","requestId":"sr-01JABCDEFGHJK"}
Response body (JSON)
| Field | Type | Description |
|---|---|---|
replyTo required | string | Where replies go. |
requestId required | string |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | JSON | K8 HQ Support has it (or had it already, for a retry). |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 413 | application/problem+json | The description is longer than 5,000 characters (too_large). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |