WaitKitWaitKit
API

API Keys

Management API for API key CRUD operations.

The API Keys API manages authentication keys for your projects. These endpoints require session authentication.

List keys

curl https://api.waitkit.dev/api/project/<projectId>/apikey \
  -H "Cookie: <session>"

Create key

curl -X POST https://api.waitkit.dev/api/project/<projectId>/apikey \
  -H "Content-Type: application/json" \
  -H "Cookie: <session>" \
  -d '{"name": "Production"}'

The response includes the full key value. This is the only time the key is shown.

Get key

curl https://api.waitkit.dev/api/project/<projectId>/apikey/<keyId> \
  -H "Cookie: <session>"

The stored key is bcrypt-hashed and cannot be retrieved in plain text.

Update key

curl -X PUT https://api.waitkit.dev/api/project/<projectId>/apikey/<keyId> \
  -H "Content-Type: application/json" \
  -H "Cookie: <session>" \
  -d '{"name": "Staging"}'

Delete key

curl -X DELETE https://api.waitkit.dev/api/project/<projectId>/apikey/<keyId> \
  -H "Cookie: <session>"

Revokes the key immediately. Any integrations using this key will stop working.

On this page