Skip to content

Get all countries

Request

Fetches the list of all countries available in the system. A valid authorization token is required.

Security
Bearer
curl -i -X GET \
  https://developer.sustainabilitymaster.ai/_mock/openapi/api/EnterpriseTables/Country \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully retrieved the list of countries

Bodyapplication/json
Array [
idinteger, (int32)

Gets or sets the unique identifier for the country.

Example:1
namestring or null

Gets or sets the name of the country.

Example:"United States"
]
Response
[ { "id": 1, "name": "United States" } ]