---
updatedAt: 2026-08-20T15:03:54.000Z
agentTools:
  projectIndex: https://docs.omnidocs.cloud/llms.txt
---

# Get Units in Organization

Get all units in the organization that the authenticated identity has access to.
This endpoint requires view permissions or greater on the organization

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Omnidocs API",
    "contact": {
      "name": "Omnidocs Support",
      "url": "https://support.omnidocs.com/hc/en-us/requests/new"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://app.omnidocs.cloud"
    }
  ],
  "paths": {
    "/api/v1/organizations/{organizationId}/units": {
      "get": {
        "tags": [
          "Resource"
        ],
        "summary": "Get Units in Organization",
        "description": "Get all units in the organization that the authenticated identity has access to.\nThis endpoint requires view permissions or greater on the organization",
        "parameters": [
          {
            "name": "organizationId",
            "in": "path",
            "description": "Id of the organization.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A list of units.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UnitInfoDto"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request response with problem details on the error.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized response with problem details on the error.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden response with problem details on the error.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Not found response with problem details on the error.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ResourceStatus": {
        "enum": [
          "Active",
          "MarkedForDeletion",
          "BeingDeleted",
          "DeletedWithErrors"
        ],
        "type": "string"
      },
      "UnitInfoDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/ResourceStatus"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "OAuth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/api/v1/oauth2/token",
            "scopes": {}
          }
        }
      },
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "OAuth2": []
    },
    {
      "Bearer": []
    }
  ]
}
```