Admin
Administrative endpoints (admin role required)
📄️ List all API keys
List all API keys
📄️ Revoke an API key
Revoke an API key
📄️ Soft-delete an API key
Soft-delete an API key
📄️ Reactivate an API key
Reactivate an API key
📄️ Restore a deleted API key
Restore a deleted API key
📄️ List billing accounts
List billing accounts
📄️ Get billing account details
Get billing account details
📄️ Reset billing account to free tier
Reset billing account to free tier
📄️ Reset billing account monthly counter
Reset billing account monthly counter
📄️ Update subscription status
Update subscription status
📄️ Update billing account tier
Update billing account tier
📄️ List blacklisted destinations
List blacklisted destinations
📄️ Block a destination
Block a destination
📄️ Remove blacklist entry
Remove blacklist entry
📄️ Trigger subscription downgrade job
Manually triggers the expired-subscription downgrade cron job. Downgrades all billing accounts whose subscriptions have expired to the Free tier
📄️ List Polar discounts
List Polar discounts
📄️ List all links (admin)
List all links (admin)
📄️ Update link status
Update link status
📄️ Hard delete a link
Hard delete a link
📄️ Re-sync link KV entry
Re-sync link KV entry
📄️ List Polar products
List Polar products
📄️ Sync and cache products from Polar
Fetches products from Polar and replaces the local cached_products table
📄️ Sync products from Polar
Fetches the product list from the Polar API (dry-run: no database write)
📄️ List abuse reports
List abuse reports
📄️ Get pending reports count
Get pending reports count
📄️ Get a single abuse report
Get a single abuse report
📄️ Update report status
Update report status
📄️ Get system settings
Get system settings
📄️ Update a system setting
Update a system setting
📄️ List all users
List all users
📄️ Get a user
Get a user
📄️ Update user role
Update user role
📄️ Delete a user
Delete a user
📄️ Suspend a user
Suspend a user
📄️ Unsuspend a user
Unsuspend a user