Service — K8 HQ Content API
Service operations for K8 HQ Content API. Requests, permissions and responses.
Before making requests, read the authentication and request requirements.
Service health and the public forwarding-confirmation pages.
Base URL
| Base URL | For |
|---|---|
https://api.k8hq.com/v1 | API tokens and the K8 HQ web app |
Endpoints
Service
Forwarding confirmation page
GET/forwards/confirm
The page a forwarding confirmation link opens (for people, not programs): it shows the address and a Confirm button and changes nothing, since mail scanners open links.
No sign-in needed.
Parameters
| Name | Type | Description |
|---|---|---|
i (query) required | string | The inbox. |
f (query) required | string | The forward. |
s (query) required | string | The confirmation secret. |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | text/html | The page. |
| 404 | text/html | The link is invalid or has expired. |
Confirm forwarding
POST/forwards/confirm
The Confirm button confirms the address. Forwarding stays paused if the person who set it up can no longer edit the inbox. For an older forward with no recorded creator, K8 HQ pauses forwarding when the next message arrives.
No sign-in needed.
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | text/html | Confirmed. |
| 400 | text/html | Malformed form. |
| 404 | text/html | The link is invalid or has expired. |
| 409 | text/html | The inbox's permissions changed. You can try the link again. |
| 503 | text/html | Try again. |
Check the service
GET/health
No sign-in. The build that's running and the hash of the API description it serves.
No sign-in needed.
Response body (JSON)
| Field | Type | Description |
|---|---|---|
build required | string | The commit. |
cell required | string | |
openapi required | string | SHA-256 of openapi.json. |
status required | "ok" |
Responses
| Status | Body | Meaning |
|---|---|---|
| 200 | JSON | Healthy. |