---
title: "Put an address on the waitlist by hand, optionally sending its invite right away (invite-only mode has no public way in)"
method: POST
path: "/operator/waitlist"
tags: ["Operator"]
---

# Put an address on the waitlist by hand, optionally sending its invite right away (invite-only mode has no public way in)

`POST /operator/waitlist`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/operator/waitlist`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Request body

- object
  - `email` string, required
  - `note` string
  - `lang` string
  - `reason` string, required: Shown in the operator audit log
  - `invite` boolean
  - `validDays` integer

## Response `200`

Added

- object
  - `status` 'ok', required
  - `id` string, uuid, required
  - `replay` boolean, required
  - `invite` object, nullable, required
    - `status` 'ok', required
    - `id` string, uuid, required
    - `expiresAt` string, required: ISO-8601 timestamp

## Other responses

- `400`: Invalid request (code invalid_request)
- `403`: Not a platform operator, a bearer-authenticated request, or a session older than 5 minutes (code forbidden; details.reauthenticate is true for the last case)
- `404`: Not found (code not_found)
- `409`: The address already has an account, or the entry changed meanwhile (code conflict)
- `501`: Invites are not available on this server (code not_configured)

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
