Calendar — K8 HQ Setup API
Calendar operations for K8 HQ Setup API. Requests, permissions and responses.
Before making requests, read the authentication and request requirements.
Set up your K8 HQ calendar the first time you open it.
Base URL
| Base URL | For |
|---|---|
https://api.k8hq.com/setup | The K8 HQ web app, and programs acting with a person's session |
Endpoints
Calendar
Set up your calendar
POST/v1/organizations/{orgId}/calendar
For a person's own session (x-k8hq-token) only: assistants' delegated tokens and API tokens are refused.
Parameters
| Name | Type | Description |
|---|---|---|
orgId (path) required | string | Organization ID. |
Responses
| Status | Body | Meaning |
|---|---|---|
| 204 | Your calendar is ready. | |
| 400 | application/problem+json | Malformed or invalid input (invalid). |
| 401 | application/problem+json | No session, it expired, or it isn't a person's own session (unauthenticated). |
| 402 | application/problem+json | The organization is read-only because it is out of credit. |
| 403 | application/problem+json | They may not do this in the organization, or a browser origin other than the web app's (forbidden). |
| 404 | ||
| 409 | application/problem+json | The calendar could not be opened or changed. Refresh and try again. |
| 410 | application/problem+json | The organization is being deleted. |
| 503 | application/problem+json | A temporary problem (unavailable); retry. |