GET /census/countries

GET /census/countries

Returns a list of all known countries

Responses

  • successful operation

    Hide response attribute Show response attribute object
  • Server Error

GET /census/countries
curl \
 -X GET https://api.cosmily.com/api/v1/census/countries \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "countries": [
    {
      "country_code": "US",
      "country_name": "United States of America"
    }
  ]
}
Response examples (200)
{
  "countries": [
    {
      "country_code": "US",
      "country_name": "United States of America"
    }
  ]
}