/filters/organizations - Get available organization filters

GET /filters/organizations

Get list of organizations with systems for filtering (requires Support+ role, filtered by RBAC). Returns organization logto_id as the id field for compatibility with GET /systems?organization_id= parameter. Respects RBAC hierarchy - users only see organizations they can access.

Responses

  • 200 application/json

    Organization filters retrieved successfully

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object
      Hide data attribute Show data attribute object
      • organizations array[object]

        List of organizations with systems

        Hide organizations attributes Show organizations attributes object
        • id string

          Organization logto_id (not UUID)

        • name string

          Organization name

  • 401 application/json

    Unauthorized - invalid or missing token

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
  • 403 application/json

    Forbidden - insufficient permissions

    Hide response attributes Show response attributes object
    • code integer
    • message string
    • data object | null
GET /filters/organizations
curl \
 --request GET 'https://api.your-domain.com/api/filters/organizations' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "code": 200,
  "message": "organization filters retrieved successfully",
  "data": {
    "organizations": [
      {
        "id": "ug9v4l0m6mwt",
        "name": "Cust3"
      },
      {
        "id": "guwy6opsll17",
        "name": "Owner"
      }
    ]
  }
}
Response examples (401)
{
  "code": 401,
  "message": "invalid token",
  "data": {}
}
Response examples (403)
{
  "code": 403,
  "message": "insufficient permissions",
  "data": {}
}