Documentation · API reference
GET/api/v1/admin/invites

Every invite code

Every invite code, newest first: who each is for, who made it, and the account it made. Never the code. Operators only.

The answer

Status 200

AdminInvites

asked
booleanneededWhether this deployment asks for a code to make an account (`signup.invites`). Codes can be made either way.
invites
list of AdminInviteneeded

Asking

With your token from Settings
curl https://tidekeeper.eu/api/v1/admin/invites \
    -H "Authorization: Bearer $TIDEKEEPER_TOKEN"
With your token from Settings
const answer = await fetch("https://tidekeeper.eu/api/v1/admin/invites", {
  headers: {
    Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`,
  },
}).then((r) => r.json());