> ## Documentation Index
> Fetch the complete documentation index at: https://developer.sendoso.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get All Team Groups

> Retrieve information of all the organization's active team groups.

### Parameters

<ParamField query="page" type="integer">
  The page number of the results you want to retrieve (the first page is 1). See [Pagination](https://developer.sendoso.com/rest-api/overview/pagination) for more information.
</ParamField>

<ParamField query="per_page" type="integer">
  The number of users to be returned per page (max is 100). See [Pagination](https://developer.sendoso.com/rest-api/overview/pagination) for more information.
</ParamField>

### Response

<ResponseField name="current_page" type="integer" required>
  The current page being returned (used for pagination purposes).
</ResponseField>

<ResponseField name="per_page" type="integer" required>
  The number of results being returned per page (used for pagination purposes).
</ResponseField>

<ResponseField name="total_groups" type="integer" required>
  The total number of team groups (used for pagination purposes).
</ResponseField>

<ResponseField name="groups" type="array" required>
  List of team group objects

  <Expandable title="team_group" defaultOpen="true">
    <ResponseField name="id" type="string" required>
      The team groups's identifier
    </ResponseField>

    <ResponseField name="budget" type="integer" required>
      The team groups's budget
    </ResponseField>

    <ResponseField name="created_at" type="string" required>
      The team group's creation date (in `ISO 8601` format)
    </ResponseField>

    <ResponseField name="monthly_budget" type="string" required>
      The team group's monthly allocated budget
    </ResponseField>

    <ResponseField name="name" type="number" required>
      The team group's name
    </ResponseField>

    <ResponseField name="one_time_budget" type="integer" required>
      The team group's one time budget
    </ResponseField>

    <ResponseField name="rollover" type="boolean" required>
      Whether or not the monthly budget rolls over to the next month or not.
    </ResponseField>

    <ResponseField name="team_id" type="integer" required>
      The team group's organization id
    </ResponseField>

    <ResponseField name="updated_at" type="string" required>
      The team group's last updated date (in `ISO 8601` format)
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
      "current_page": 1,
      "per_page": 1,
      "total_groups": 20,
      "groups": [
          {
              "id": 1234,
              "budget": 50,
              "created_at": "2020-05-01T13:53:05.000-07:00",
              "monthly_budget": "50000",
              "name": "Field Marketing",
              "one_time_budget": 0,
              "rollover": true,
              "team_id": 5678,
              "updated_at": "2022-09-26T11:49:50.000-07:00"
          }
      ]
  }
  ```
</ResponseExample>
