---
title: "Get Orgunit"
method: GET
path: "/orgunit"
tags: ["Orgunit"]
---

# Get Orgunit

`GET /orgunit`

Retrieves a paginated list of orgunit (brands) associated with your account. Supports search filtering by brand name, standard  pagination configuration, and filtering for the default orgunit.

## Query parameters

- `search` string
- `pageNumber` integer, required
- `pageSize` integer, required
- `defaultOrgunit` boolean

## Response `200`

Success

- OrgunitResponseListPaginatedResponseExternalApiResponse
  - `data` OrgunitResponseListPaginatedResponse
    - `totalCount` integer
    - `filterCount` integer
    - `data` OrgunitResponse[], nullable
      - `id` string, nullable
      - `accountId` string, nullable
      - `name` string, nullable
      - `shortName` string, nullable
      - `email` string, nullable
      - `contactNo` string, nullable
      - `imageURL` string, nullable
      - `website` string, nullable
      - `details` string, nullable
      - `address` Address
        - `address1` string, nullable
        - `state` string, nullable
        - `postalCode` string, nullable
        - `countryCode` string, nullable
      - `groups` string[], nullable
      - `defaultCampus` boolean
      - `shortenEnabled` boolean
      - `shortenUrlLength` integer
      - `communicationCodes` CommunicationCodes
        - `commCode` CommCode[], nullable
          - `type` string, nullable
          - `value` string, nullable
      - `autoResponseMessage` string, nullable
  - `appCode` integer
  - `message` string, nullable
  - `isError` boolean
  - `error` string, nullable

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/ministrybytext/apis/pbt-api-documentation.md) · [All operations](https://skmtc.net/ministrybytext/apis/pbt-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ministrybytext/pbt-api-documentation/versions/ca6e9c8f430d/schema)
