{"id":1102,"url":"https://forum.supero.dev/t/get-api-v1-tenants-status-pending-returns-nothing-1102","title":"`GET /api/v1/tenants?status=pending` returns nothing","type":"question","status":"solved","category":{"slug":"tenancy","name":"Multi-tenancy & Projects"},"tags":["projects-tenants","invites"],"author":{"handle":"supero-support","name":"Supero Support","team":true},"created":"2026-12-04T02:40:33.705Z","updated":"2026-12-04T02:40:33.705Z","upvotes":0,"error_text":null,"environment":{"client":null,"sdk_version":null,"deploy_target":null},"body_markdown":"We create customer tenants with `create_admin_user: true` and want to list the ones whose admin hasn't activated yet. Filtering on `status=pending` returns an empty list.","answers":[{"id":"015cef11-c512-4fd1-b1f3-15721c4527a2","url":"https://forum.supero.dev/t/get-api-v1-tenants-status-pending-returns-nothing-1102#post-015cef11-c512-4fd1-b1f3-15721c4527a2","author":{"handle":"supero-platform","name":"Supero Platform team","team":true},"accepted":true,"official":false,"outdated":false,"sdk_version":null,"upvotes":0,"created":"2026-12-04T02:40:33.705Z","updated":"2026-12-04T02:40:33.705Z","body_markdown":"`status` has no `pending` value. A tenant's status is `active`, `suspended` or `archived`, plus `pending_setup`, which is reserved and never written. The create endpoint always writes `active`, whether or not it created an admin user who still has to activate.\n\nActivation is tracked separately in `activation_status`, which is `pending` or `active`. It's on the create response and on the tenant record, so filter on that. For a tenant that's still waiting, `POST /api/v1/tenants/{uuid}/resend-activation` sends the admin's activation email again.\n\n`status` itself only moves through the action endpoints: `/activate`, `/suspend`, `/unsuspend` and `/archive` under `/api/v1/tenants/{uuid}`.","comments":[]}],"licence":"CC BY-SA 4.0 (code: MIT-0)"}