---
title: "API: listOrganizations"
slug: "api-listorganizations"
updated: 2022-08-31T17:48:10Z
published: 2022-08-31T17:48:11Z
canonical: "support.smarteru.com/api-listorganizations"
---
> ## 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: listOrganizations
- 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 listOrganizations method retrieves [organizations](/v1/docs/organizations) that meet the specified filters.
## **Who Has Access**
The following users have access to the listOrganizations method:
- Users with the [Manage Organizations](/v1/docs/account-permission-manage-organizations) or [View Organizations](/v1/docs/account-permission-view-organizations) account permission.
- [Administrators and owners](/v1/docs/user-profile-information#access-level).
## **API Call XML Package**
```markup
listOrganizations
```
## Organization Tag Group
The Organization tag group is a container for organization filters.
```markup
```
The Organization tag may contain the following.
### Page (optional)
The page number to return. The default is 1 and each page returns 1000 records. For example, the following returns records 1001-2000.
```markup
```
### Filters
A container for organization filters. Refer to [Filters Tag Group](/v1/docs/api-listorganizations#filters-tag-group).
## Filters Tag Group
The Filters tag group is a container for organization filters.
```markup
```
The Filters tag may contain the following.
### OrganizationStatus (optional)
The [organization's status](/v1/docs/organization-organization-information#status). Acceptable values are *Active*, *Inactive*, or *All*. The default is *All*.
### CreatedDate (optional)
A container for filtering organizations based on the date they were created. This tag contains the following.
| Tag | Description |
| --- | --- |
| **CreatedDateFrom** | The first date to include in the created date range filter. |
| **CreatedDateTo** | The last date to include in the created date range filter. |
- Dates should be in UTC and in the format dd-MMM-yyyy.
- Only one CreatedDate filter can be specified.
- If both a CreatedDate filter and a ModifiedDate filter are specified, the method will return all organizations that were created within the created date range OR modified within the modified date range. For example, if an organization was created within the created date range, but their modified date is outside the modified date range, the organization will be included.
### ModifiedDate (optional)
A container for filtering organizations based on the date they were last updated. This tag contains the following.
| Tag | Description |
| --- | --- |
| **ModifiedDateFrom** | The first date to include in the modified date range filter. |
| **ModifiedDateTo** | The last date to include in the modified date range filter. |
- Dates should be in UTC and in the format dd-MMM-yyyy.
- Only one ModifiedDate filter can be specified.
- If both a CreatedDate filter and a ModifiedDate filter are specified, the method will return all organizations that were created within the created date range OR modified within the modified date range. For example, if an organization was created outside the created date range, but their modified date is within the modified date range, the organization will be included.
## 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-listorganizations#error-codes) tag.
```markup
```
The Organizations tag is a container for the organizations returned by the listOrganizations method. Each organization is contained in an Organization tag and may contain the following.
### ID
The organization's system-generated identifier.
### Name
The [organization's name](/v1/docs/organization-organization-information#organization-name-required).
### OrganizationID
The [organization's user-specified identifier](/v1/docs/organization-organization-information#organization-id).
### Created_Date
The UTC date the organization was created.
### Modified_Date
The UTC date the organization was last updated.
### Status
The [organization's status](/v1/docs/organization-organization-information#status).
### Email
The [organization's email address](/v1/docs/organization-contact-information#email).
### PhonePrimary
The [organization's primary phone number](/v1/docs/organization-contact-information#phone-primary).
### PhoneAlternate
The [organization's alternate phone number](/v1/docs/organization-contact-information#phone-alternate).
### Fax
The [organization's fax number](/v1/docs/organization-contact-information#fax).
### Address1
The [first line of the organization's street address](/v1/docs/organization-contact-information#address-line-1).
### Address2
The [second line of the organization's street address](/v1/docs/organization-contact-information#address-line-2).
### City
The [city of the organization's street address](/v1/docs/organization-contact-information#city).
### PostalCode
The [postal code of the organization's street address](/v1/docs/organization-contact-information#postalzip-code).
### Province
The [region (e.g., state, province, etc...) of the organization's street address](/v1/docs/organization-contact-information#region).
### Country
The [country of the organization's street address](/v1/docs/organization-contact-information#country).
### Website
The [organization's website](/v1/docs/organization-contact-information#website).
### UserCount
The [number of users associated with the organization](/v1/docs/organization-users).
### CustomFields
A container for the [custom organization fields](/v1/docs/account-custom-organization-fields). Each custom organization field is contained in a CustomField tag and may contain the following.
| Tag | Description |
| --- | --- |
| **Name** | The [custom organization field's name](/v1/docs/account-custom-organization-fields#name). |
| **Value** | The value assigned to the custom organization field. |
### Example API Response XML Package
Below is an example of an API response XML package.
```markup
Success
19852
1
```
## **Error Codes**
| Error Code | Message |
| --- | --- |
| LO:01 | The page number provided is not valid. |
| LO:02 | The organization status provided is not invalid. |
| LO:03 | The required permissions are not met to call the listOrganizations method. |
| LO:04 | The created date provided is not valid. |
| LO:05 | The modified date provided is not valid. |
## Related
- [API: createOrganization](/api-createorganization.md)
- [API: getOrganization](/api-getorganization.md)
- [Organizations](/organizations.md)