---
title: List of Countries
slug: epmm/v1web-service-api-guide/list-of-countries
createdAt: 2026-11-03T13:02:44.286Z
---

Ivanti EPMM retains a default list of countries in the database.  A country selection populates the country code field.  This API provides a complete list of all defined countries, regardless of whether they are used. This list of countries is used during device registration.

**Example**:

https\://\<Ivanti EPMM>/api/v1/dm/countries

| URI:<br />https\:///api/v1/dm/countries                | All countries defined in the database are returned.                                                                                                                                                                                                              |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Http Method:                                           | GET                                                                                                                                                                                                                                                              |
| Format:                                                | xml, json                                                                                                                                                                                                                                                        |
|                                                        |                                                                                                                                                                                                                                                                  |
| Response Status Code:                                  |                                                                                                                                                                                                                                                                  |
| ‘404 – No Data Found’                                  | There is no data.                                                                                                                                                                                                                                                |
| ‘200 – OK’                                             | Data is present and the response is returned.                                                                                                                                                                                                                    |
| Response:                                              |                                                                                                                                                                                                                                                                  |
| \< deviceManagementWebServiceResponse >                |                                                                                                                                                                                                                                                                  |
| \<messages>                                            |                                                                                                                                                                                                                                                                  |
| \<message>2 Countries returned\</message>              | Status Message.<br />Country count is shown if the method execution is successful.<br />A descriptive error message is shown if the method execution failed.                                                                                                     |
| \</messages>                                           |                                                                                                                                                                                                                                                                  |
| \<countries>                                           |                                                                                                                                                                                                                                                                  |
|                                                        |                                                                                                                                                                                                                                                                  |
| \<country>                                             |                                                                                                                                                                                                                                                                  |
| \<countryName>United States\</countryName>             | Country name.                                                                                                                                                                                                                                                    |
| \<countryCode>1\</countryCode>                         | Numeric country code.                                                                                                                                                                                                                                            |
| \<isoAlpha2Code>US\</isoAlpha2Code>                    | ISO Alpha 2 country code.                                                                                                                                                                                                                                        |
| \<enabledForRegistration>102\</enabledForRegistration> | Whether the Ivanti EPMM administrator enabled the country for registration.<br />102 means disabled.<br />116 means enabled.<br /><br />Note: 116 is the ASCII value for ‘t’, which stands for true, and 102 is the ASCII value for ‘f’, which stands for false. |
| \</country>                                            |                                                                                                                                                                                                                                                                  |
|                                                        |                                                                                                                                                                                                                                                                  |
| \<country>                                             |                                                                                                                                                                                                                                                                  |
| \<countryName>India\</countryName>                     |                                                                                                                                                                                                                                                                  |
| \<countryCode>91\</countryCode>                        |                                                                                                                                                                                                                                                                  |
| \<isoAplha2Code>IN\</isoAplha2Code>                    |                                                                                                                                                                                                                                                                  |
| \<enabledForRegistration>116\</enabledForRegistration> |                                                                                                                                                                                                                                                                  |
| \</country>                                            |                                                                                                                                                                                                                                                                  |
| \</countries>                                          |                                                                                                                                                                                                                                                                  |
| \< /deviceManagementWebServiceResponse>                |                                                                                                                                                                                                                                                                  |
|                                                        |                                                                                                                                                                                                                                                                  |

