--- title: "API: getOrganization" slug: "api-getorganization" updated: 2022-08-31T15:44:10Z published: 2022-08-31T15:44:10Z canonical: "support.smarteru.com/api-getorganization" --- > ## 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: getOrganization - Starting June 1, 2022, SmarterU will require 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 getOrganization method retrieves an [organization's](/v1/docs/organizations) details. ## Who Has Access The following users have access to the createOrganization 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 getOrganization ``` ## Organization Tag Group The Organization tag group is a container for the organization filter. ```markup ``` The Organization tag contains the following. ### Name The [organization's name](https://support.smarteru.com/docs/organization-organization-information#organization-name-required). This is the Organization returned by the [getUser](/v1/docs/api-getuser) method. ## 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-getorganization#error-codes) tag. ```markup ``` The organization is contained in an Organization tag and may contain the following. ### 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 date the organization was [added](/v1/docs/adding-an-organization). ### Modified Date The date the organization was [last updated](/v1/docs/editing-an-organization). ### Status The [organization's status](/v1/docs/organization-organization-information#status) (i.e., *Active* or *Inactive)*. ### Email The [email address for the organization](/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 physical address](/v1/docs/organization-contact-information#address-line-1). ### Address2 The [second line of the organization's physical address](/v1/docs/organization-contact-information#address-line-2). ### City The [city where the organization is located](/v1/docs/organization-contact-information#city). ### PostalCode The [postal code where the organization is located](/v1/docs/organization-contact-information#postalzip-code). ### Province The [province where the organization is located](/v1/docs/organization-contact-information#region). ### Country The [country where the organization is located](/v1/docs/organization-contact-information#country). ### Website The [URL of 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 [custom organization fields](/v1/docs/account-custom-organization-fields). Each custom field is contained in a CustomField tag and contains the following. | **Name** | The custom organization field's name. | | --- | --- | | **Value** | The custom organization field's value. | ### Example API Response XML Package Below is an example of an API response XML package. ```markup Success 4 ``` ## **Error Codes** | Error Code | Message | | --- | --- | | GO:01 | The name provided is not valid. | | GO:02 | The required permissions are not met to call the getOrganization method. | | GO:03 | The requested organization does not exist. | ## Related - [API: createOrganization](/api-createorganization.md) - [API: getUser](/api-getuser.md) - [API: listOrganizations](/api-listorganizations.md) - [Organizations](/organizations.md)