Users and admin

List all tenants

Returns every tenant registered on the WUTS platform. This master-token-only endpoint is used by platform operators to audit and manage the full tenant base.

GET
/tenants

Returns every tenant registered on the WUTS platform. This master-token-only endpoint is used by platform operators to audit and manage the full tenant base.

Authorization

masterToken
AuthorizationBearer <token>

Platform master token sent as Authorization: Bearer <master-token>. Required only for Super Admin (cross-tenant) endpoints.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/tenants"
{  "success": true,  "tenants": [    {      "id": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",      "name": "Acme Atendimento",      "created_at": "2026-06-15T12:00:00Z",      "updated_at": "2026-06-15T12:00:00Z"    },    {      "id": "2b3c4d5e-6f7a-8b9c-0d1e-2f3a4b5c6d7e",      "name": "Revotalk Demo",      "created_at": "2026-05-01T09:30:00Z",      "updated_at": "2026-06-10T18:45:00Z"    }  ]}
{  "success": false,  "error": "invalid master token"}
{  "success": false,  "error": "failed to list tenants"}