Returns all available countries. Use the country id when setting a worker’s country_id.
id
country_id
cURL
curl --request GET \ --url https://api.roostedhr.com/api/1_12/countries \ --header 'X-API-KEY: <api-key>'
200
Countries list
[ { "id": 2, "name": "United States" }, { "id": 3, "name": "Canada" }, { "id": 4, "name": "United Kingdom" } ]
OK
Country identifier. Use this value for country_id fields.
Country name.