---
title: "API: listTeams"
slug: "api-listteams"
updated: 2022-09-13T17:06:04Z
published: 2022-09-13T17:06:04Z
canonical: "support.smarteru.com/api-listteams"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://support.smarteru.com/llms.txt
> Use this file to discover all available pages before exploring further.
# API: listTeams
- SmarterU requires all API calls to POST to HTTPS. Any POST to HTTP will result in the SU:01 error (i.e., No POST data detected.).
- If you are viewing the help in a language other than English, please change your language to English before copying and pasting any code. All API attributes and functions are in English.
- Tags are required unless specified.
## Description
The listTeams method retrieves teams that meet the specified filters.
## Who Has Access
- Users with the [Manage Teams](/v1/docs/account-permission-manage-teams) or [View Teams](/v1/docs/account-permission-view-teams) account permission.
- [Administrators and owners](https://support.smarteru.com/v1/docs/user-profile-information#access-level).
## API Call XML Package
```markup
listTeams
```
## Team Tag Group
The Team tag may group is a container for how the response is returned and the team filters.
```markup
```
### Page (optional)
The page number to get. The default is *1*.
### Filters (optional)
A container for the team filters. Refer to [Filters Tag Group](/v1/docs/api-listteams#filters-tag-group).
## Filters Tag Group
The Filters tag group is a container for team filters.
```markup
```
The Filters tag may contain the following.
### TeamStatus
The team's status. Acceptable values are *Active*, *Inactive*, or *All*.
### CreatedDate
A container for filtering teams based on the UTC date it was created. This tag contains the following.
| Tag | Description |
| --- | --- |
| **CreatedDateFrom** | The first date to include in the team's created date range filter in UTC format. |
| **CreatedDateTo** | The last date to include in the team's created date range filter in UTC format. |
### ModifiedDate
A container for filtering the teams based on the UTC date it was last modified. This tag contains the following.
| Tag | Description |
| --- | --- |
| **ModifiedDateFrom** | The first date to include in the team's modified date range filter in UTC format. |
| **ModifiedDateTo** | The last date to include in the team's modified date range filter in UTC format. |
## API Response XML Package
The [API response XML package](/v1/docs/api-response-xml-package) will always include a Result, Info, and [Errors](/v1/docs/api-listteams#error-codes) tag.
```markup
```
The Teams tag is a container for the teams returned by the listTeams method. Each team is contained in a Team tag and may contain the following.
### ID
The team's system-generated identifier.
### Name
The [team's name](https://support.smarteru.com/docs/team-team-information#name).
### Status
The [team's status](https://support.smarteru.com/docs/team-team-information#status).
### CreatedDate
The date the team was [created](/v1/docs/adding-a-team).
### ModifiedDate
The date the team was last [updated](/v1/docs/editing-a-team).
### Example API Response XML Package
Below is an example of an API response XML package.
```markup
```
## Error Codes
| Error Code | Message |
| --- | --- |
| LT:01 | The page number provided is not valid. |
| LT:02 | The team status provided is invalid. |
| LT:03 | The required permissions are not met to call the listTeams method. |
| LT:04 | The created date provided is not valid. |
| LT:05 | The modified date provided is not valid. |