Internationalization

These endpoints list the country and currency codes that Capsule supports. For a fuller description of these models see the Country model and Currency model definitions.

List Countries

Collection of country names available in Capsule; useful for populating the country field of the party’s address. These are the same for all Capsule accounts

GET
https://api.capsulecrm.com/api/v2/countries

Response

Returns HTTP status code 200. The body of the response will contain an object with a single property contries which is an array of Country objects. The example below is truncated to save space.

HTTP/1.1 200
{
  "countries" : [ {
    "alpha2Code" : "AF",
    "alpha3Code" : "AFG",
    "numericCode" : 4,
    "name" : "Afghanistan"
  }, {
    "alpha2Code" : "AX",
    "alpha3Code" : "ALA",
    "numericCode" : 248,
    "name" : "Åland Islands"
  }, {
    "alpha2Code" : "AL",
    "alpha3Code" : "ALB",
    "numericCode" : 8,
    "name" : "Albania"
  }, {
    "alpha2Code" : "DZ",
    "alpha3Code" : "DZA",
    "numericCode" : 12,
    "name" : "Algeria"
  } ]
}

List Currencies

Collection of ISO currency code options available in Capsule; useful for populating and displaying the opportunities’ value. These are the same for all Capsule accounts

GET
https://api.capsulecrm.com/api/v2/currencies

Response

Returns HTTP status code 200. The body of the response will contain an object with a single property currencies which is an array of Currency objects. The example below is truncated to save space.

HTTP/1.1 200
{
  "currencies" : [ {
    "code" : "AED",
    "symbol" : "د.إ ",
    "name" : null,
    "pluralName" : null
  }, {
    "code" : "ARS",
    "symbol" : "$",
    "name" : null,
    "pluralName" : null
  }, {
    "code" : "AUD",
    "symbol" : "$",
    "name" : "AU Dollar",
    "pluralName" : "AU Dollars"
  } ]
}